[PATCH 2/3] Fix warnings for test/symbol-test.cc.
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Fri, 25 Nov 2011 15:34:47 +0000 (16:34 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:24 +0000 (09:40 -0800)
ab/ba5536476520c1114f825f122782ec6676a78a [new file with mode: 0644]

diff --git a/ab/ba5536476520c1114f825f122782ec6676a78a b/ab/ba5536476520c1114f825f122782ec6676a78a
new file mode 100644 (file)
index 0000000..a943d15
--- /dev/null
@@ -0,0 +1,76 @@
+Return-Path: <aidecoe@aidecoe.name>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id F12F0431FD0\r
+       for <notmuch@notmuchmail.org>; Fri, 25 Nov 2011 07:34:54 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id iuHW6nQKCL8S for <notmuch@notmuchmail.org>;\r
+       Fri, 25 Nov 2011 07:34:54 -0800 (PST)\r
+Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com\r
+       [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 64FA9431FB6\r
+       for <notmuch@notmuchmail.org>; Fri, 25 Nov 2011 07:34:54 -0800 (PST)\r
+Received: by bkaq10 with SMTP id q10so4897701bka.26\r
+       for <notmuch@notmuchmail.org>; Fri, 25 Nov 2011 07:34:53 -0800 (PST)\r
+Received: by 10.204.149.215 with SMTP id u23mr35128960bkv.105.1322235292782;\r
+       Fri, 25 Nov 2011 07:34:52 -0800 (PST)\r
+Received: from localhost (abtw56.neoplus.adsl.tpnet.pl. [83.8.168.56])\r
+       by mx.google.com with ESMTPS id z3sm28899199faf.13.2011.11.25.07.34.50\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Fri, 25 Nov 2011 07:34:51 -0800 (PST)\r
+From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 2/3] Fix warnings for test/symbol-test.cc.\r
+Date: Fri, 25 Nov 2011 16:34:47 +0100\r
+Message-Id: <1322235288-12151-1-git-send-email-aidecoe@aidecoe.name>\r
+X-Mailer: git-send-email 1.7.8.rc3\r
+In-Reply-To: <8762i8bbb2.fsf@convex-new.cs.unb.ca>\r
+References: <8762i8bbb2.fsf@convex-new.cs.unb.ca>\r
+Cc: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 25 Nov 2011 15:34:55 -0000\r
+\r
+---\r
+ test/symbol-test.cc |    5 ++---\r
+ 1 files changed, 2 insertions(+), 3 deletions(-)\r
+\r
+diff --git a/test/symbol-test.cc b/test/symbol-test.cc\r
+index 1de06ea..ec250b2 100644\r
+--- a/test/symbol-test.cc\r
++++ b/test/symbol-test.cc\r
+@@ -1,10 +1,9 @@\r
+ #include <stdio.h>\r
+ #include <xapian.h>\r
+ #include <notmuch.h>\r
+-main (int argc, char **argv){\r
++int main (){\r
\r
+-    notmuch_database_t *notmuch\r
+-      = notmuch_database_open ("fakedb",\r
++  (void)notmuch_database_open ("fakedb",\r
+                                    NOTMUCH_DATABASE_MODE_READ_ONLY);\r
\r
+   try{\r
+-- \r
+1.7.8.rc3\r
+\r