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 74684429E28 for ; Fri, 25 Nov 2011 02:55:15 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[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 59Ti44yiBlA6 for ; Fri, 25 Nov 2011 02:55:14 -0800 (PST) Received: from mail-bw0-f53.google.com (mail-bw0-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 DA2D8429E26 for ; Fri, 25 Nov 2011 02:55:12 -0800 (PST) Received: by mail-bw0-f53.google.com with SMTP id q10so4563796bka.26 for ; Fri, 25 Nov 2011 02:55:12 -0800 (PST) Received: by 10.204.152.196 with SMTP id h4mr32933037bkw.1.1322218512466; Fri, 25 Nov 2011 02:55:12 -0800 (PST) Received: from localhost (abtw56.neoplus.adsl.tpnet.pl. [83.8.168.56]) by mx.google.com with ESMTPS id l5sm14960190bkv.9.2011.11.25.02.55.10 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Nov 2011 02:55:11 -0800 (PST) From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= To: notmuch@notmuchmail.org Subject: [PATCH 2/2] Fixed warnings for test/symbol-test.cc. Date: Fri, 25 Nov 2011 11:54:52 +0100 Message-Id: <1322218492-8300-2-git-send-email-aidecoe@aidecoe.name> X-Mailer: git-send-email 1.7.8.rc3 In-Reply-To: <1322218492-8300-1-git-send-email-aidecoe@aidecoe.name> References: <1322218492-8300-1-git-send-email-aidecoe@aidecoe.name> Cc: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= 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: Fri, 25 Nov 2011 10:55:16 -0000 --- test/symbol-test.cc | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/test/symbol-test.cc b/test/symbol-test.cc index 1de06ea..bfbe38f 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,14 +1,13 @@ #include #include #include -main (int argc, char **argv){ +int main (){ - notmuch_database_t *notmuch - = notmuch_database_open ("fakedb", - NOTMUCH_DATABASE_MODE_READ_ONLY); + //notmuch_database_t *notmuch = + notmuch_database_open ("fakedb", NOTMUCH_DATABASE_MODE_READ_ONLY); try{ - (void)new Xapian::WritableDatabase ("./nonexistant", Xapian::DB_OPEN); + (void)new Xapian::WritableDatabase ("./nonexistant", Xapian::DB_OPEN); } catch (const Xapian::Error &error) { printf("caught %s\n",error.get_msg().c_str()); return 0; -- 1.7.8.rc3