mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +02:00
Fix a compiler warning
This commit is contained in:
@@ -1010,8 +1010,10 @@ int luax_resume(lua_State *L, int nargs, int* nres)
|
||||
#if LUA_VERSION_NUM >= 504
|
||||
return lua_resume(L, nullptr, nargs, nres);
|
||||
#elif LUA_VERSION_NUM >= 502
|
||||
LOVE_UNUSED(nres);
|
||||
return lua_resume(L, nullptr, nargs);
|
||||
#else
|
||||
LOVE_UNUSED(nres);
|
||||
return lua_resume(L, nargs);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user