From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
Date: Sat, 28 Jan 2012 08:02:33 +0000 (+0400)
Subject: tag: remove unused attribute from notmuch_tag_command() arguments
X-Git-Tag: debian/0.12_rc1-1~117
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=cc3756aabed5d6e50a481a5d38a5859754206be2;p=obsolete%2Fnotmuch-old

tag: remove unused attribute from notmuch_tag_command() arguments

Argc and argv arguments are used in notmuch_tag_command() function.
So unused attribute is not appropriate for them.
---

diff --git a/notmuch-tag.c b/notmuch-tag.c
index 44fd61f6..36b9b092 100644
--- a/notmuch-tag.c
+++ b/notmuch-tag.c
@@ -111,7 +111,7 @@ _optimize_tag_query (void *ctx, const char *orig_query_string, char *argv[],
 }
 
 int
-notmuch_tag_command (void *ctx, unused (int argc), unused (char *argv[]))
+notmuch_tag_command (void *ctx, int argc, char *argv[])
 {
     int *add_tags, *remove_tags;
     int add_tags_count = 0;