Squash unused parameter warning

This commit is contained in:
Celtic Minstrel 2021-02-21 16:51:37 -05:00 committed by GitHub
parent 80f6db1f0d
commit b613e09b2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -501,7 +501,7 @@ void* operator new(std::size_t sz, lua_State *L, int nuv)
return lua_newuserdatauv(L, sz, nuv);
}
void operator delete(void*, lua_State *L, int nuv)
void operator delete(void*, lua_State *L, int)
{
// Not sure if this is needed since it's a no-op
// It's only called if a constructor throws while using the above operator new