Remove UNUSED() macro and disable the compiler warning instead

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2017-07-02 21:59:23 +02:00
parent e46e3cdcb6
commit 30822f0d68
27 changed files with 51 additions and 52 deletions
+2 -2
View File
@@ -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 ...");