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 71E91431FAF for ; Wed, 18 Jan 2012 23:23:32 -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 XIlUs2yVkhnE for ; Wed, 18 Jan 2012 23:23:32 -0800 (PST) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id C9E88431FAE for ; Wed, 18 Jan 2012 23:23:31 -0800 (PST) Received: by wibhr12 with SMTP id hr12so5207421wib.26 for ; Wed, 18 Jan 2012 23:23:29 -0800 (PST) Received: by 10.180.93.193 with SMTP id cw1mr42092360wib.5.1326957809115; Wed, 18 Jan 2012 23:23:29 -0800 (PST) Received: from hotblack-desiato.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25]) by mx.google.com with ESMTPS id r1sm26468041wia.8.2012.01.18.23.23.26 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jan 2012 23:23:27 -0800 (PST) Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) id 1CC3C9FD95; Thu, 19 Jan 2012 07:23:25 +0000 (GMT) To: Austin Clements , notmuch@notmuchmail.org Subject: Re: [PATCH 2/2] Silence buildbot warnings about unused results In-Reply-To: <1326933611-16898-3-git-send-email-amdragon@mit.edu> References: <1326933611-16898-1-git-send-email-amdragon@mit.edu> <1326933611-16898-3-git-send-email-amdragon@mit.edu> User-Agent: Notmuch/0.11+64~g42e8f66 (http://notmuchmail.org) Emacs/24.0.92.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Thu, 19 Jan 2012 07:23:21 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Thu, 19 Jan 2012 07:23:33 -0000 --=-=-= Content-Type: text/plain On Wed, 18 Jan 2012 19:40:11 -0500, Austin Clements wrote: > + /* See handle_sigint in notmuch-new.c for the justification for > + * ignoring write's result. */ > + IGNORE_RESULT (write (2, msg, sizeof(msg)-1)); Just include the comment in both places. Someone will work over the code in notmuch-new.c and we'll lose it. Then, +1. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk8XxOkACgkQaezQq/BJZRauIACgjSxjXUnFk/oMfJ5GBALidTRb 5i4AnRdbsGZmmd8qCMqlDl/kr3lPTf6i =ylYx -----END PGP SIGNATURE----- --=-=-=--