[PATCH] tag: remove unused attribute from notmuch_tag_command() arguments

Dmitry Kurochkin dmitry.kurochkin at gmail.com
Sat Jan 28 00:02:33 PST 2012


Argc and argv arguments are used in notmuch_tag_command() function.
So unused attribute is not appropriate for them.
---
 notmuch-tag.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/notmuch-tag.c b/notmuch-tag.c
index 44fd61f..36b9b09 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;
-- 
1.7.8.3



More information about the notmuch mailing list