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:
MihailRis
2025-10-10 23:12:01 +03:00
committed by GitHub
parent 8f3e5e880c
commit 24931770d3
50 changed files with 69 additions and 61 deletions
+1 -1
View File
@@ -64,5 +64,5 @@ const luaL_Reg weatherlib[] = {
{"get_current_data", lua::wrap<l_get_current_data>},
{"get_fall_intensity", lua::wrap<l_get_fall_intensity>},
{"is_transition", lua::wrap<l_is_transition>},
{NULL, NULL}
{nullptr, nullptr}
};