1 Return-Path: <kha@treskal.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 49B3D431FBC
\r
6 for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 23:34:36 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id QciG+MgdMc2D for <notmuch@notmuchmail.org>;
\r
11 Sun, 22 Nov 2009 23:34:35 -0800 (PST)
\r
12 Received: from mail1.space2u.com (mail1.space2u.com [62.20.1.135])
\r
13 by olra.theworths.org (Postfix) with ESMTP id 3729C431FAE
\r
14 for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 23:34:35 -0800 (PST)
\r
15 Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com
\r
16 [209.85.218.224]) (authenticated bits=0)
\r
17 by mail1.space2u.com (8.14.3/8.14.3) with ESMTP id nAN7YQFQ008858
\r
18 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT)
\r
19 for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 08:34:26 +0100
\r
20 Received: by bwz24 with SMTP id 24so3673843bwz.30
\r
21 for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 23:34:32 -0800 (PST)
\r
23 Received: by 10.204.48.144 with SMTP id r16mr1779102bkf.170.1258961672465;
\r
24 Sun, 22 Nov 2009 23:34:32 -0800 (PST)
\r
25 In-Reply-To: <87skc5yd6v.wl%djcb@djcbsoftware.nl>
\r
26 References: <87skc5yd6v.wl%djcb@djcbsoftware.nl>
\r
27 Date: Mon, 23 Nov 2009 08:34:32 +0100
\r
28 Message-ID: <b8197bcb0911222334v26e96890t3632369ff32ff80f@mail.gmail.com>
\r
29 From: Karl Wiberg <kha@treskal.com>
\r
30 To: djcb@djcbsoftware.nl
\r
31 Content-Type: text/plain; charset=UTF-8
\r
32 Content-Transfer-Encoding: quoted-printable
\r
33 Cc: "notmuch@notmuchmail org" <notmuch@notmuchmail.org>
\r
34 Subject: Re: [notmuch] [PATCH 1/2] * avoid gcc 4.4.1 compiler warnings due
\r
35 to ignored write return values
\r
36 X-BeenThere: notmuch@notmuchmail.org
\r
37 X-Mailman-Version: 2.1.12
\r
39 List-Id: "Use and development of the notmuch mail system."
\r
40 <notmuch.notmuchmail.org>
\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
44 List-Post: <mailto:notmuch@notmuchmail.org>
\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
48 X-List-Received-Date: Mon, 23 Nov 2009 07:34:36 -0000
\r
50 On Mon, Nov 23, 2009 at 7:20 AM, Dirk-Jan C. Binnema
\r
51 <djcb.bulk@gmail.com> wrote:
\r
53 > + =C2=A0 =C2=A0ssize_t ignored;
\r
54 > =C2=A0 =C2=A0 static char msg[] =3D "Stopping... =C2=A0 =C2=A0 =C2=A0 =C2=
\r
56 > - =C2=A0 =C2=A0write(2, msg, sizeof(msg)-1);
\r
58 > + =C2=A0 =C2=A0ignored =3D write(2, msg, sizeof(msg)-1);
\r
59 > =C2=A0 =C2=A0 interrupted =3D 1;
\r
62 Didn't the "(void)" suggestion work?
\r
65 Karl Wiberg, kha@treskal.com
\r
66 subrabbit.wordpress.com
\r
67 www.treskal.com/kalle
\r