From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 045E5431FB6 for ; Sat, 28 Jan 2012 00:03:44 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YMsD634jtChB for ; Sat, 28 Jan 2012 00:03:43 -0800 (PST) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 5E2BD431FAE for ; Sat, 28 Jan 2012 00:03:43 -0800 (PST) Received: by bkbzt19 with SMTP id zt19so2339186bkb.26 for ; Sat, 28 Jan 2012 00:03:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer; bh=tWek/sp92ziGONoU17qyOONVxJe4YJCKLmv4eREdIi0=; b=GTDt2In05eeKMLZH1rl3K+ZD6EGZnuuSPMDC5vIRcWArRSsb2L/YHS6+7656YbRuHs wVceYXUtMumkHz0hisRt1BAJ5ViykHut1ROSP0d01bg1oq2tFaQRINwpAPMws3q8HDhl Bp7DPsoktWgx6RtmpczhPJDKST4cRyWpLk5uI= Received: by 10.204.154.86 with SMTP id n22mr4509697bkw.85.1327737822085; Sat, 28 Jan 2012 00:03:42 -0800 (PST) Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id t17sm21693593bke.6.2012.01.28.00.03.41 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 Jan 2012 00:03:41 -0800 (PST) From: Dmitry Kurochkin To: notmuch@notmuchmail.org Subject: [PATCH] tag: remove unused attribute from notmuch_tag_command() arguments Date: Sat, 28 Jan 2012 12:02:33 +0400 Message-Id: <1327737753-18068-1-git-send-email-dmitry.kurochkin@gmail.com> X-Mailer: git-send-email 1.7.8.3 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2012 08:03:44 -0000 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