mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-28 04:00:41 +00:00
travis-ci: set v of nulK to 0
This commit is contained in:
parent
a1d246a34e
commit
35f36e1bba
2 changed files with 2 additions and 1 deletions
|
@ -270,6 +270,7 @@ static int boolK (FuncState *fs, int b) {
|
||||||
|
|
||||||
static int nilK (FuncState *fs) {
|
static int nilK (FuncState *fs) {
|
||||||
TValue k, v;
|
TValue k, v;
|
||||||
|
setbvalue(&v, 0);
|
||||||
setnilvalue(&v);
|
setnilvalue(&v);
|
||||||
/* cannot use nil as key; instead use table itself to represent nil */
|
/* cannot use nil as key; instead use table itself to represent nil */
|
||||||
sethvalue(fs->L, &k, fs->h);
|
sethvalue(fs->L, &k, fs->h);
|
||||||
|
|
|
@ -245,7 +245,7 @@ int main(int argc, char **argv)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// return to OS
|
// return to OS
|
||||||
#if !defined (__GNUC__) || (__GNUC__ < 3)
|
#if !defined (__GNUC__)
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue