fix unreferenced argument warning.

This commit is contained in:
Tom van Dijck 2017-07-04 18:21:15 -07:00
parent 5cc981d590
commit b4acd30cca

View File

@ -186,6 +186,7 @@
buffered.writeln(result, "")
buffered.writeln(result, "void registerModules(lua_State* L)")
buffered.writeln(result, "{")
buffered.writeln(result, "\t(void)(L);")
for _, name in ipairs(nativeTable) do
buffered.writeln(result, string.format("\tregister%s(L);", name))
end