From: David Bremner Date: Sun, 19 Jan 2014 00:05:19 +0000 (+2000) Subject: Re: [PATCH] lib: fix clang compiler warning X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7dc2bbabc64bcf60109af70f65048428cbda5bcb;p=notmuch-archives.git Re: [PATCH] lib: fix clang compiler warning --- diff --git a/d2/50598b488cc8df05cbcc2dea09d2e4025b23d7 b/d2/50598b488cc8df05cbcc2dea09d2e4025b23d7 new file mode 100644 index 000000000..b8c1e58fa --- /dev/null +++ b/d2/50598b488cc8df05cbcc2dea09d2e4025b23d7 @@ -0,0 +1,60 @@ +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 AA850431FBD + for ; Sat, 18 Jan 2014 16:05:34 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 cXbmnWfEQ4Ly for ; + Sat, 18 Jan 2014 16:05:30 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 903FE431FBC + for ; Sat, 18 Jan 2014 16:05:30 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1W4ftD-0003k2-3r; Sat, 18 Jan 2014 20:05:23 -0400 +Received: (nullmailer pid 31790 invoked by uid 1000); Sun, 19 Jan 2014 + 00:05:19 -0000 +From: David Bremner +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: [PATCH] lib: fix clang compiler warning +In-Reply-To: <1389975665-13962-1-git-send-email-jani@nikula.org> +References: <1389975665-13962-1-git-send-email-jani@nikula.org> +User-Agent: Notmuch/0.17+30~g50677dd (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Sat, 18 Jan 2014 20:05:19 -0400 +Message-ID: <877g9whm4g.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +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: Sun, 19 Jan 2014 00:05:34 -0000 + +Jani Nikula writes: + +> With some combination of clang and talloc, not using the return value +> of talloc_steal() produces a warning. Ignore it, as talloc_steal() has +> no failure modes per documentation. + +pushed. + +d