Re: [notmuch] [PATCH 1/2] * avoid gcc 4.4.1 compiler warnings due to ignored write...
authorKarl Wiberg <kha@treskal.com>
Mon, 23 Nov 2009 13:19:18 +0000 (14:19 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:41 +0000 (09:35 -0800)
98/0953668e2629e909fa4c79a58a5ece3c12b672 [new file with mode: 0644]

diff --git a/98/0953668e2629e909fa4c79a58a5ece3c12b672 b/98/0953668e2629e909fa4c79a58a5ece3c12b672
new file mode 100644 (file)
index 0000000..78a0b79
--- /dev/null
@@ -0,0 +1,67 @@
+Return-Path: <kha@treskal.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 28360431FBF\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 05:19:21 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id jxIFZSG2Efo4 for <notmuch@notmuchmail.org>;\r
+       Mon, 23 Nov 2009 05:19:20 -0800 (PST)\r
+Received: from mail1.space2u.com (mail1.space2u.com [62.20.1.135])\r
+       by olra.theworths.org (Postfix) with ESMTP id 46A77431FBC\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 05:19:20 -0800 (PST)\r
+Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com\r
+       [209.85.218.224]) (authenticated bits=0)\r
+       by mail1.space2u.com (8.14.3/8.14.3) with ESMTP id nANDJ7cw028661\r
+       (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT)\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 14:19:07 +0100\r
+Received: by bwz24 with SMTP id 24so3889339bwz.30\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 05:19:18 -0800 (PST)\r
+MIME-Version: 1.0\r
+Received: by 10.204.11.17 with SMTP id r17mr4869095bkr.41.1258982358062; Mon, \r
+       23 Nov 2009 05:19:18 -0800 (PST)\r
+In-Reply-To: <1873022c0911230311o77e55fdqa5464a2dd16ec265@mail.gmail.com>\r
+References: <87skc5yd6v.wl%djcb@djcbsoftware.nl>\r
+       <b8197bcb0911222334v26e96890t3632369ff32ff80f@mail.gmail.com>\r
+       <1873022c0911230311o77e55fdqa5464a2dd16ec265@mail.gmail.com>\r
+Date: Mon, 23 Nov 2009 14:19:18 +0100\r
+Message-ID: <b8197bcb0911230519l4edf1b72w26d993834f25a417@mail.gmail.com>\r
+From: Karl Wiberg <kha@treskal.com>\r
+To: Dirk-Jan Binnema <djcb.bulk@gmail.com>\r
+Content-Type: text/plain; charset=UTF-8\r
+Cc: "notmuch@notmuchmail org" <notmuch@notmuchmail.org>, djcb@djcbsoftware.nl\r
+Subject: Re: [notmuch] [PATCH 1/2] * avoid gcc 4.4.1 compiler warnings due\r
+       to ignored write return values\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 23 Nov 2009 13:19:21 -0000\r
+\r
+On Mon, Nov 23, 2009 at 12:11 PM, Dirk-Jan Binnema <djcb.bulk@gmail.com> wrote:\r
+\r
+> On Mon, Nov 23, 2009 at 9:34 AM, Karl Wiberg <kha@treskal.com> wrote:\r
+>\r
+> > Didn't the "(void)" suggestion work?\r
+>\r
+> I actually preferred that solution, but unfortunately, it didn't\r
+> stop gcc from complaining...\r
+\r
+Hmpf. I'd argue that that's a gcc bug, forcing the user to use an\r
+unnecessarily complicated way to pretend to use the return value. Oh\r
+well.\r
+\r
+-- \r
+Karl Wiberg, kha@treskal.com\r
+   subrabbit.wordpress.com\r
+   www.treskal.com/kalle\r