From 38dacf009c4feb5d4820bbdd9222d7e7be067903 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Thu, 30 May 2019 22:56:14 +0300 Subject: append _unused to the expression defined using unused() macro This way if variables defined using unused() macro are actually used then code will not compile... - removed unused usage around one argc and one argv since those were used - changed one unused (char *argv[]) to unused (char **argv) to work with modified unused() macro definition --- notmuch-client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'notmuch-client.h') diff --git a/notmuch-client.h b/notmuch-client.h index 39e26f2e..b3a501a9 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -53,7 +53,7 @@ #include "talloc-extra.h" #include "crypto.h" -#define unused(x) x __attribute__ ((unused)) +#define unused(x) x ## _unused __attribute__ ((unused)) #define STRINGIFY(s) STRINGIFY_(s) #define STRINGIFY_(s) #s -- cgit v1.2.3