suppress a new warning

This commit is contained in:
nhmall
2023-01-15 15:39:22 -05:00
parent 68d8b5376a
commit b82a19ec02

View File

@@ -1030,6 +1030,8 @@ nhl_dnum_name(lua_State *L)
return 1;
}
DISABLE_WARNING_UNREACHABLE_CODE
/* set or get variables which are saved and restored along the game.
nh.variable("test", 10);
local ten = nh.variable("test"); */
@@ -1147,6 +1149,8 @@ save_luadata(NHFILE *nhfp)
free(lua_data);
}
RESTORE_WARNING_UNREACHABLE_CODE
/* restore nh_lua_variables table from file */
void
restore_luadata(NHFILE *nhfp)