unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] tag: remove unused attribute from notmuch_tag_command() arguments
@ 2012-01-28  8:02 Dmitry Kurochkin
  2012-02-04 12:37 ` David Bremner
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Kurochkin @ 2012-01-28  8:02 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-08 13:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-28  8:02 [PATCH] tag: remove unused attribute from notmuch_tag_command() arguments Dmitry Kurochkin
2012-02-04 12:37 ` David Bremner
2012-02-05 19:34   ` Dmitry Kurochkin
2012-02-08 13:22     ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).