travis-ci: set v of nulK to 0

This commit is contained in:
Alam Ed Arias 2016-05-28 19:28:37 -04:00
parent a1d246a34e
commit 35f36e1bba
2 changed files with 2 additions and 1 deletions

View File

@ -270,6 +270,7 @@ static int boolK (FuncState *fs, int b) {
static int nilK (FuncState *fs) {
TValue k, v;
setbvalue(&v, 0);
setnilvalue(&v);
/* cannot use nil as key; instead use table itself to represent nil */
sethvalue(fs->L, &k, fs->h);

View File

@ -245,7 +245,7 @@ int main(int argc, char **argv)
#endif
// return to OS
#if !defined (__GNUC__) || (__GNUC__ < 3)
#if !defined (__GNUC__)
return 0;
#endif
}