Re: Flat search and threaded views
[notmuch-archives.git] / 7e / b01d6cf676709edbecdd730a1ed0807a4a21b4
1 Return-Path: <djcb@djcbsoftware.nl>\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 118AE431FBC\r
6         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 22:21:53 -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 jVgrDr8M8xWN for <notmuch@notmuchmail.org>;\r
11         Sun, 22 Nov 2009 22:21:52 -0800 (PST)\r
12 Received: from gw03.mail.saunalahti.fi (gw03.mail.saunalahti.fi\r
13         [195.197.172.111])\r
14         by olra.theworths.org (Postfix) with ESMTP id 6EE83431FAE\r
15         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 22:21:52 -0800 (PST)\r
16 Received: from djcbsoftware.nl (a88-112-254-208.elisa-laajakaista.fi\r
17         [88.112.254.208])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by gw03.mail.saunalahti.fi (Postfix) with ESMTP id D4EB4216806\r
21         for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 08:21:50 +0200 (EET)\r
22 Received: from cthulhu.mindcrime.djcbsoftware.nl (localhost [127.0.0.1])\r
23         by djcbsoftware.nl (Postfix) with ESMTP id 7E1BB39C009\r
24         for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 08:21:50 +0200 (EET)\r
25 Date: Mon, 23 Nov 2009 08:21:50 +0200\r
26 Message-ID: <87r5rpyd4x.wl%djcb@djcbsoftware.nl>\r
27 From: Dirk-Jan C. Binnema <djcb.bulk@gmail.com>\r
28 To: "notmuch@notmuchmail org" <notmuch@notmuchmail.org>\r
29 Mail-Reply-To: djcb@djcbsoftware.nl\r
30 User-Agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.1 Mule/6.0\r
31         (HANACHIRUSATO)\r
32 Organization: DJCBSoftware\r
33 MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")\r
34 Content-Type: text/plain; charset=US-ASCII\r
35 Subject: [notmuch] [PATCH 2/2] * avoid gcc 4.4.1 compiler warning due to\r
36         ignored 'fflush' return value\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.12\r
39 Precedence: list\r
40 Reply-To: djcb@djcbsoftware.nl\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Mon, 23 Nov 2009 06:21:53 -0000\r
51 \r
52 \r
53 \r
54 ---\r
55  notmuch-setup.c |   13 +++++++------\r
56  1 files changed, 7 insertions(+), 6 deletions(-)\r
57 \r
58 diff --git a/notmuch-setup.c b/notmuch-setup.c\r
59 index d06fbf8..c50f812 100644\r
60 --- a/notmuch-setup.c\r
61 +++ b/notmuch-setup.c\r
62 @@ -100,12 +100,13 @@ notmuch_setup_command (unused (void *ctx),\r
63      unsigned int i;\r
64      int is_new;\r
65  \r
66 -#define prompt(format, ...)                            \\r
67 -    do {                                               \\r
68 -       printf (format, ##__VA_ARGS__);                 \\r
69 -       fflush (stdout);                                \\r
70 -       getline (&response, &response_size, stdin);     \\r
71 -       chomp_newline (response);                       \\r
72 +#define prompt(format, ...)                                    \\r
73 +    do {                                                       \\r
74 +       int ignored;                                            \\r
75 +       printf (format, ##__VA_ARGS__);                         \\r
76 +       fflush (stdout);                                        \\r
77 +       ignored = getline (&response, &response_size, stdin);   \\r
78 +       chomp_newline (response);                               \\r
79      } while (0)\r
80  \r
81      config = notmuch_config_open (ctx, NULL, &is_new);\r
82 -- \r
83 1.6.3.3\r
84 \r