]> git.cworth.org Git - notmuch/commitdiff
tag: remove unused attribute from notmuch_tag_command() arguments
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Sat, 28 Jan 2012 08:02:33 +0000 (12:02 +0400)
committerDavid Bremner <bremner@debian.org>
Wed, 8 Feb 2012 13:19:29 +0000 (09:19 -0400)
Argc and argv arguments are used in notmuch_tag_command() function.
So unused attribute is not appropriate for them.

notmuch-tag.c

index 44fd61f6811db84d8e437f37247404140764556a..36b9b0927585ba0f8a2ee50a74e6aaf7d7cad8e3 100644 (file)
@@ -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;