mirror of
https://github.com/love2d/love.git
synced 2026-08-17 02:58:31 +02:00
fixed a ridiculous number of gcc warnings, nearly all of which were complaints about unused parameters - the remaining 199 warnings I get are from code that isn't ours (box2d is responsible for all but 8 of them)
This commit is contained in:
@@ -252,7 +252,7 @@ namespace love
|
||||
**/
|
||||
int luax_getregistry(lua_State * L, Registry r);
|
||||
|
||||
Type luax_type(lua_State * L, int idx);
|
||||
Type luax_type(lua_State * L, int idx);
|
||||
|
||||
/**
|
||||
* Converts the value at idx to the specified type without checking that
|
||||
@@ -264,7 +264,7 @@ namespace love
|
||||
* @param type The type bit.
|
||||
**/
|
||||
template <typename T>
|
||||
T * luax_totype(lua_State * L, int idx, const char * name, love::bits type)
|
||||
T * luax_totype(lua_State * L, int idx, const char *, love::bits)
|
||||
{
|
||||
return (T*)(((Proxy *)lua_touserdata(L, idx))->data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user