quiet a number of macosx warnings

This commit is contained in:
nhmall
2019-12-05 11:52:21 -05:00
parent 295e8df01b
commit a701c5870d
17 changed files with 340 additions and 614 deletions

View File

@@ -575,7 +575,7 @@ const char *name;
ltyp = lua_type(L, -1);
if (ltyp == LUA_TSTRING) {
const char *const boolstr[] = { "true", "false", "yes", "no", NULL };
const int boolstr2i[] = { TRUE, FALSE, TRUE, FALSE, -1 };
/* const int boolstr2i[] = { TRUE, FALSE, TRUE, FALSE, -1 }; */
ret = luaL_checkoption(L, -1, NULL, boolstr);
nhUse(boolstr2i[0]);
@@ -908,7 +908,7 @@ const char *name;
const char *
get_lua_version()
{
size_t len;
size_t len = (size_t) 0;
const char *vs = (const char *) 0;
lua_State *L;