aboutsummaryrefslogtreecommitdiff
path: root/notmuch.c
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2019-05-30 22:56:14 +0300
committerDavid Bremner <david@tethera.net>2019-06-11 07:25:04 -0300
commit38dacf009c4feb5d4820bbdd9222d7e7be067903 (patch)
treed7e107bbbc18780729c3a7b771e51c3e05da34db /notmuch.c
parenteea09ee15348992685e4c5b329303b6bae3b0cac (diff)
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
Diffstat (limited to 'notmuch.c')
-rw-r--r--notmuch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch.c b/notmuch.c
index eeb794e8..2ddc8fbc 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -358,7 +358,7 @@ notmuch_help_command (unused (notmuch_config_t * config), int argc, char *argv[]
*/
static int
notmuch_command (notmuch_config_t *config,
- unused(int argc), unused(char *argv[]))
+ unused(int argc), unused(char **argv))
{
char *db_path;
struct stat st;