From: David Bremner Date: Thu, 24 Sep 2015 10:39:09 +0000 (+2100) Subject: Re: [PATCH] lib: constify arguments to notmuch_query_get_* X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3da95a48c83760e6f46a44b2c2460b1dc0c97a4f;p=notmuch-archives.git Re: [PATCH] lib: constify arguments to notmuch_query_get_* --- diff --git a/11/8d2c21dc69b10db1fbb692058ee042e6f49960 b/11/8d2c21dc69b10db1fbb692058ee042e6f49960 new file mode 100644 index 000000000..b9ab010fa --- /dev/null +++ b/11/8d2c21dc69b10db1fbb692058ee042e6f49960 @@ -0,0 +1,58 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 75B056DE0C1E + for ; Thu, 24 Sep 2015 03:40:02 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.484 +X-Spam-Level: +X-Spam-Status: No, score=0.484 tagged_above=-999 required=5 tests=[AWL=-0.260, + URIBL_SBL=0.644, URIBL_SBL_A=0.1] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id hBJLQ94v3XLp for ; + Thu, 24 Sep 2015 03:40:00 -0700 (PDT) +Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id B53D66DE0B7C + for ; Thu, 24 Sep 2015 03:40:00 -0700 (PDT) +Received: from remotemail by gitolite.debian.net with local (Exim 4.80) + (envelope-from ) + id 1Zf3w0-0006Gw-Da; Thu, 24 Sep 2015 10:39:28 +0000 +Received: (nullmailer pid 30256 invoked by uid 1000); Thu, 24 Sep 2015 + 10:39:09 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: Re: [PATCH] lib: constify arguments to notmuch_query_get_* +In-Reply-To: <1443009554-26766-1-git-send-email-david@tethera.net> +References: <1443009554-26766-1-git-send-email-david@tethera.net> +User-Agent: Notmuch/0.20.2+73~gd432116 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Thu, 24 Sep 2015 07:39:09 -0300 +Message-ID: <87io702jaq.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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: Thu, 24 Sep 2015 10:40:02 -0000 + +David Bremner writes: + +> These functions are all just accessors, and it's pretty clear they don't +> modify the query struct. This also fixes one warning I created when I +> introduced status. + +pushed + +d