mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
Remove UNUSED() macro and disable the compiler warning instead
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+2
-2
@@ -32,7 +32,7 @@
|
||||
#include "helpers.h"
|
||||
#include "plugin.h"
|
||||
|
||||
static void setup(void *UNUSED(arg))
|
||||
static void setup(void *arg)
|
||||
{
|
||||
#ifdef RANDOMSEED
|
||||
if (!fexist(RANDOMSEED)) {
|
||||
@@ -65,7 +65,7 @@ static void setup(void *UNUSED(arg))
|
||||
#endif
|
||||
}
|
||||
|
||||
static void save(void *UNUSED(arg))
|
||||
static void save(void *arg)
|
||||
{
|
||||
#ifdef RANDOMSEED
|
||||
umask(077);
|
||||
|
||||
Reference in New Issue
Block a user