Remove all uses of attribute "unused"
Awesome is built with -Wno-unused-parameter which means there is no point in explicitly marking arguments as unused. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
4545c23658
commit
1d95153286
4
luaa.c
4
luaa.c
|
@ -64,7 +64,7 @@ static char *conffile;
|
||||||
* \return The number of elements pushed on stack.
|
* \return The number of elements pushed on stack.
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
luaA_quit(lua_State *L __attribute__ ((unused)))
|
luaA_quit(lua_State *L)
|
||||||
{
|
{
|
||||||
ev_unloop(globalconf.loop, 1);
|
ev_unloop(globalconf.loop, 1);
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -91,7 +91,7 @@ luaA_exec(lua_State *L)
|
||||||
/** Restart awesome.
|
/** Restart awesome.
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
luaA_restart(lua_State *L __attribute__ ((unused)))
|
luaA_restart(lua_State *L)
|
||||||
{
|
{
|
||||||
awesome_restart();
|
awesome_restart();
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue