1 Return-Path: <dmitry.kurochkin@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 045E5431FB6
\r
6 for <notmuch@notmuchmail.org>; Sat, 28 Jan 2012 00:03:44 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id YMsD634jtChB for <notmuch@notmuchmail.org>;
\r
17 Sat, 28 Jan 2012 00:03:43 -0800 (PST)
\r
18 Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com
\r
19 [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 5E2BD431FAE
\r
22 for <notmuch@notmuchmail.org>; Sat, 28 Jan 2012 00:03:43 -0800 (PST)
\r
23 Received: by bkbzt19 with SMTP id zt19so2339186bkb.26
\r
24 for <notmuch@notmuchmail.org>; Sat, 28 Jan 2012 00:03:42 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=from:to:subject:date:message-id:x-mailer;
\r
27 bh=tWek/sp92ziGONoU17qyOONVxJe4YJCKLmv4eREdIi0=;
\r
28 b=GTDt2In05eeKMLZH1rl3K+ZD6EGZnuuSPMDC5vIRcWArRSsb2L/YHS6+7656YbRuHs
\r
29 wVceYXUtMumkHz0hisRt1BAJ5ViykHut1ROSP0d01bg1oq2tFaQRINwpAPMws3q8HDhl
\r
30 Bp7DPsoktWgx6RtmpczhPJDKST4cRyWpLk5uI=
\r
31 Received: by 10.204.154.86 with SMTP id n22mr4509697bkw.85.1327737822085;
\r
32 Sat, 28 Jan 2012 00:03:42 -0800 (PST)
\r
33 Received: from localhost ([91.144.186.21])
\r
34 by mx.google.com with ESMTPS id t17sm21693593bke.6.2012.01.28.00.03.41
\r
35 (version=TLSv1/SSLv3 cipher=OTHER);
\r
36 Sat, 28 Jan 2012 00:03:41 -0800 (PST)
\r
37 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
38 To: notmuch@notmuchmail.org
\r
39 Subject: [PATCH] tag: remove unused attribute from notmuch_tag_command()
\r
41 Date: Sat, 28 Jan 2012 12:02:33 +0400
\r
42 Message-Id: <1327737753-18068-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
43 X-Mailer: git-send-email 1.7.8.3
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Sat, 28 Jan 2012 08:03:44 -0000
\r
58 Argc and argv arguments are used in notmuch_tag_command() function.
\r
59 So unused attribute is not appropriate for them.
\r
61 notmuch-tag.c | 2 +-
\r
62 1 files changed, 1 insertions(+), 1 deletions(-)
\r
64 diff --git a/notmuch-tag.c b/notmuch-tag.c
\r
65 index 44fd61f..36b9b09 100644
\r
68 @@ -111,7 +111,7 @@ _optimize_tag_query (void *ctx, const char *orig_query_string, char *argv[],
\r
72 -notmuch_tag_command (void *ctx, unused (int argc), unused (char *argv[]))
\r
73 +notmuch_tag_command (void *ctx, int argc, char *argv[])
\r
75 int *add_tags, *remove_tags;
\r
76 int add_tags_count = 0;
\r