projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c6710e
)
tag: remove unused attribute from notmuch_tag_command() arguments
author
Dmitry Kurochkin
<dmitry.kurochkin@gmail.com>
Sat, 28 Jan 2012 08:02:33 +0000
(12:02 +0400)
committer
David 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
patch
|
blob
|
history
diff --git
a/notmuch-tag.c
b/notmuch-tag.c
index 44fd61f6811db84d8e437f37247404140764556a..36b9b0927585ba0f8a2ee50a74e6aaf7d7cad8e3 100644
(file)
--- 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;