fix warnings (#648)
* fix unknown command line argument * fix warnings settings for gcc * fix -Wzero-as-null-pointer-constant * revert CMakeLists.txt
This commit is contained in:
@@ -541,5 +541,5 @@ const luaL_Reg networklib[] = {
|
||||
{"__get_serverport", wrap<l_get_serverport>},
|
||||
{"__set_nodelay", wrap<l_set_nodelay>},
|
||||
{"__is_nodelay", wrap<l_is_nodelay>},
|
||||
{NULL, NULL}
|
||||
{nullptr, nullptr}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user