diff options
-rw-r--r-- | lundump.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.c,v 2.30 2014/03/01 15:18:44 roberto Exp roberto $ | 2 | ** $Id: lundump.c,v 2.31 2014/03/10 17:56:32 roberto Exp roberto $ |
3 | ** load precompiled Lua chunks | 3 | ** load precompiled Lua chunks |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -59,8 +59,6 @@ static lu_byte LoadByte (LoadState *S) { | |||
59 | static int LoadInt (LoadState *S) { | 59 | static int LoadInt (LoadState *S) { |
60 | int x; | 60 | int x; |
61 | LoadVar(S, x); | 61 | LoadVar(S, x); |
62 | if (x < 0) | ||
63 | error(S, "corrupted"); | ||
64 | return x; | 62 | return x; |
65 | } | 63 | } |
66 | 64 | ||