From: Carl Worth Date: Sat, 28 Nov 2009 02:38:25 +0000 (+1600) Subject: Re: [notmuch] [PATCH] Silence compiler warning by initializing a variable. X-Git-Url: http://git.tremily.us/?p=notmuch-archives.git;a=commitdiff_plain;h=890e0a58eab4a6faef64b82ad501e3fd2e95db27 Re: [notmuch] [PATCH] Silence compiler warning by initializing a variable. --- diff --git a/02/02058cf474aa3c678a814ff2a7d813d06ba6e5 b/02/02058cf474aa3c678a814ff2a7d813d06ba6e5 new file mode 100644 index 000000000..ca157e8aa --- /dev/null +++ b/02/02058cf474aa3c678a814ff2a7d813d06ba6e5 @@ -0,0 +1,46 @@ +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 364A2431FC0; + Fri, 27 Nov 2009 18:38:40 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +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 H-hsVXChIevP; Fri, 27 Nov 2009 18:38:39 -0800 (PST) +Received: from cworth.org (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 7A8D9431FAE; + Fri, 27 Nov 2009 18:38:39 -0800 (PST) +From: Carl Worth +To: "Jeffrey C. Ollie" , Not Much Mail + +In-Reply-To: <1259154096-14856-1-git-send-email-jeff@ocjtech.us> +References: <1259154096-14856-1-git-send-email-jeff@ocjtech.us> +Date: Fri, 27 Nov 2009 18:38:25 -0800 +Message-ID: <871vjjl6fy.fsf@yoom.home.cworth.org> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Subject: Re: [notmuch] [PATCH] Silence compiler warning by initializing a + variable. +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.12 +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 Nov 2009 02:38:40 -0000 + +On Wed, 25 Nov 2009 07:01:36 -0600, "Jeffrey C. Ollie" wrote: +> If Xapian threw an exception on notmuch_query_count_messages the count +> variable could be used uninitialized. Initialize count to solve the +> problem. + +Thanks for the fix. This is pushed. + +-Carl