Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / d7 / 4b2365bf50860823e77ff88345fa6179bb2467
1 Return-Path: <jani@nikula.org>\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 arlo.cworth.org (Postfix) with ESMTP id 6D6096DE14C7\r
6  for <notmuch@notmuchmail.org>; Wed, 23 Sep 2015 11:48:28 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.511\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.511 tagged_above=-999 required=5 tests=[AWL=0.209,\r
12   RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01]\r
13  autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id 7gKYuTtNPpNL for <notmuch@notmuchmail.org>;\r
17  Wed, 23 Sep 2015 11:48:26 -0700 (PDT)\r
18 Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com\r
19  [209.85.212.178])\r
20  by arlo.cworth.org (Postfix) with ESMTPS id 3CCEC6DE143A\r
21  for <notmuch@notmuchmail.org>; Wed, 23 Sep 2015 11:48:26 -0700 (PDT)\r
22 Received: by wiclk2 with SMTP id lk2so82769772wic.1\r
23  for <notmuch@notmuchmail.org>; Wed, 23 Sep 2015 11:48:24 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25  d=1e100.net; s=20130820;\r
26  h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\r
27  :references:mime-version:content-type:content-transfer-encoding;\r
28  bh=2X2skWhnRDLP2UKHwUhY8gxINdJM1zPRY7zMTKa4cmQ=;\r
29  b=HKyFl1vh5yXBp7ziTaT0vxo5ICp/anYAdDFbxLOzJIZ2ivoKiiIVUxLRwK88KMnizR\r
30  1ih1OcKZ0+naF5zspdX+kxJZ+qpv2kiS1MGzbSh3iYuLmVXHV9GZolWOX6AyuUdrsNgB\r
31  iLHvoS/vxlXVoD/zQuG5ZHFZlRhXCm87ZfQKk7s9TxE3HeTHUpDJ77dVY2Hlj1dSLcgG\r
32  9UIp3bdtpg/qFf+czF8lnvqIuV/d5Vln+J0ok8VZ2i4KByExm7YMLIXFu9SDeKKef9r/\r
33  8ybhmk4YEoiJbH4mQRvV0Rumsc0JW7rKBrpqgDGqHYxH4uAwd7fLpdQEgbyhwcfVCJwI\r
34  dulg==\r
35 X-Gm-Message-State:\r
36  ALoCoQlnDMaBvNi6aF3rhOGXsGiu6vLeLEoW+Fi+ZF1HoHFYavChK0sSsi9GiZF9rQZftb3nAoXW\r
37 X-Received: by 10.194.24.68 with SMTP id s4mr12039185wjf.12.1443034104403;\r
38  Wed, 23 Sep 2015 11:48:24 -0700 (PDT)\r
39 Received: from localhost (mobile-access-bcee4f-131.dhcp.inet.fi.\r
40  [188.238.79.131])\r
41  by smtp.gmail.com with ESMTPSA id i9sm8571634wjz.20.2015.09.23.11.48.22\r
42  (version=TLSv1/SSLv3 cipher=OTHER);\r
43  Wed, 23 Sep 2015 11:48:23 -0700 (PDT)\r
44 From: Jani Nikula <jani@nikula.org>\r
45 To: David Bremner <david@tethera.net>, Jani Nikula <jani@nikula.org>,\r
46  notmuch@notmuchmail.org\r
47 Subject: [PATCH v2] test: check argc in symbol-test\r
48 Date: Wed, 23 Sep 2015 21:48:05 +0300\r
49 Message-Id: <1443034085-4358-1-git-send-email-jani@nikula.org>\r
50 X-Mailer: git-send-email 2.1.4\r
51 In-Reply-To: <87k2s2z9cb.fsf@zancas.localnet>\r
52 References: <87k2s2z9cb.fsf@zancas.localnet>\r
53 MIME-Version: 1.0\r
54 Content-Type: text/plain; charset=UTF-8\r
55 Content-Transfer-Encoding: 8bit\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.18\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60  <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Wed, 23 Sep 2015 18:48:28 -0000\r
69 \r
70 Check argc mainly to fix unused parameter warning:\r
71 \r
72 test/symbol-test.cc:7:14: warning: unused parameter ‘argc’ [-Wunused-parameter]\r
73   int main(int argc, char** argv) {\r
74                ^\r
75 \r
76 This makes more sense than telling the compiler it's unused on\r
77 purpose.\r
78 ---\r
79  test/symbol-test.cc | 3 +++\r
80  1 file changed, 3 insertions(+)\r
81 \r
82 diff --git a/test/symbol-test.cc b/test/symbol-test.cc\r
83 index 77dbc1af44b2..7454838bfd31 100644\r
84 --- a/test/symbol-test.cc\r
85 +++ b/test/symbol-test.cc\r
86 @@ -8,6 +8,9 @@ int main (int argc, char** argv)\r
87      notmuch_database_t *notmuch;\r
88      char *message = NULL;\r
89  \r
90 +    if (argc != 3)\r
91 +       return 1;\r
92 +\r
93      if (notmuch_database_open_verbose (argv[1], NOTMUCH_DATABASE_MODE_READ_ONLY,\r
94                                        &notmuch, &message)) {\r
95         if (message) {\r
96 -- \r
97 2.1.4\r
98 \r