mirror of
https://github.com/troglobit/finit.git
synced 2026-10-13 10:14:47 +00:00
Remove UNUSED() macro and disable the compiler warning instead
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
#define ALSACTL "/usr/sbin/alsactl"
|
||||
|
||||
static void save(void *UNUSED(arg))
|
||||
static void save(void *arg)
|
||||
{
|
||||
if (fexist(ALSACTL)) {
|
||||
_d("Saving sound settings ...");
|
||||
@@ -36,7 +36,7 @@ static void save(void *UNUSED(arg))
|
||||
}
|
||||
}
|
||||
|
||||
static void restore(void *UNUSED(arg))
|
||||
static void restore(void *arg)
|
||||
{
|
||||
if (fexist(ALSACTL)) {
|
||||
_d("Restoring sound settings ...");
|
||||
|
||||
Reference in New Issue
Block a user