Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 0FD37431FD0 for ; Fri, 25 Nov 2011 05:07:16 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 U8A1gNIdE8bx for ; Fri, 25 Nov 2011 05:07:15 -0800 (PST) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 534EB431FB6 for ; Fri, 25 Nov 2011 05:07:15 -0800 (PST) Received: from convex-new.cs.unb.ca ([131.202.13.154]) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pAPD7DaC011683; Fri, 25 Nov 2011 09:07:13 -0400 Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.72) (envelope-from ) id 1RTvUn-00031W-Pu; Fri, 25 Nov 2011 09:07:13 -0400 From: David Bremner To: Amadeusz =?utf-8?B?xbtvxYJub3dza2k=?= , notmuch@notmuchmail.org Subject: Re: [PATCH 2/2] Fixed warnings for test/symbol-test.cc. In-Reply-To: <1322218492-8300-2-git-send-email-aidecoe@aidecoe.name> References: <1322218492-8300-1-git-send-email-aidecoe@aidecoe.name> <1322218492-8300-2-git-send-email-aidecoe@aidecoe.name> User-Agent: Notmuch/0.10~rc1+12~g53b921d (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Fri, 25 Nov 2011 09:07:13 -0400 Message-ID: <8762i8bbb2.fsf@convex-new.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Amadeusz =?utf-8?B?xbtvxYJub3dza2k=?= 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 13:07:16 -0000 On Fri, 25 Nov 2011 11:54:52 +0100, Amadeusz =C5=BBo=C5=82nowski wrote: > --- > + //notmuch_database_t *notmuch =3D > + notmuch_database_open ("fakedb", NOTMUCH_DATABASE_MODE_READ_ONLY); Leaving commented out code in is for people without version control ;). Shouldn't this cast to void? >=20=20 > try{ > - (void)new Xapian::WritableDatabase ("./nonexistant", Xapian::DB_= OPEN); > + (void)new Xapian::WritableDatabase ("./nonexistant", Xapian::DB_OPEN= ); This seems to be whitespace only? I'm not against whitespace cleanup, but please put it in seperate commits. Or am I staring past a real change here? d