diff options
| -rw-r--r-- | lvm.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lvm.c,v 2.135 2011/04/18 19:48:53 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 2.136 2011/04/19 16:22:13 roberto Exp roberto $ |
| 3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -616,7 +616,8 @@ void luaV_execute (lua_State *L) { | |||
| 616 | } | 616 | } |
| 617 | ) | 617 | ) |
| 618 | vmcase(OP_NOT, | 618 | vmcase(OP_NOT, |
| 619 | int res = l_isfalse(RB(i)); /* next assignment may change this value */ | 619 | TValue *rb = RB(i); |
| 620 | int res = l_isfalse(rb); /* next assignment may change this value */ | ||
| 620 | setbvalue(ra, res); | 621 | setbvalue(ra, res); |
| 621 | ) | 622 | ) |
| 622 | vmcase(OP_LEN, | 623 | vmcase(OP_LEN, |
