Place param names in comments when unused

This commit is contained in:
Mm2PL 2024-10-12 22:41:04 +02:00
parent a72abdcaba
commit fc0af4cc0e
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -100,15 +100,16 @@ int sol_lua_push(sol::types<QByteArray>, lua_State *L, const QByteArray &value)
// ThisPluginState
bool sol_lua_check(sol::types<chatterino::lua::ThisPluginState>, lua_State *L,
int index, std::function<sol::check_handler_type> handler,
sol::stack::record &tracking)
bool sol_lua_check(sol::types<chatterino::lua::ThisPluginState>,
lua_State * /*L*/, int /* index*/,
std::function<sol::check_handler_type> /* handler*/,
sol::stack::record & /*tracking*/)
{
return true;
}
chatterino::lua::ThisPluginState sol_lua_get(
sol::types<chatterino::lua::ThisPluginState>, lua_State *L, int index,
sol::types<chatterino::lua::ThisPluginState>, lua_State *L, int /*index*/,
sol::stack::record &tracking)
{
tracking.use(0);