1 Return-Path: <jani@nikula.org>
\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 481B9429E34
\r
6 for <notmuch@notmuchmail.org>; Sat, 30 Mar 2013 07:21:38 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"
\r
12 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
13 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id nR8Y6Aeq2Apw for <notmuch@notmuchmail.org>;
\r
17 Sat, 30 Mar 2013 07:21:37 -0700 (PDT)
\r
18 Received: from mail-la0-f49.google.com (mail-la0-f49.google.com
\r
19 [209.85.215.49]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 6763D431FDC
\r
22 for <notmuch@notmuchmail.org>; Sat, 30 Mar 2013 07:21:33 -0700 (PDT)
\r
23 Received: by mail-la0-f49.google.com with SMTP id fs13so1133721lab.36
\r
24 for <notmuch@notmuchmail.org>; Sat, 30 Mar 2013 07:21:31 -0700 (PDT)
\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
26 d=google.com; s=20120113;
\r
27 h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to
\r
28 :references:in-reply-to:references:x-gm-message-state;
\r
29 bh=VpMHUZvJUH8wIAVhWFcqfTbi+IIuuffezwVd4CILVbU=;
\r
30 b=OVZZ/5FY0oPXeIi0YU+9gj6yKK65gIQQj+5LtQCVRI1UrrR1HtP8jBRrZZbjb+v4Ux
\r
31 WZGYK9p0cq2vcYSyY5PX+TMSYEY1kCeDYdNG9cMG3sN1u5tREhvHI2OZ3zGM6kfvzsGY
\r
32 mtZWIM9qwYQGskS8YW9Knp4+Axf+rHoxf1Kganoxiso7BQAHVJQx52Ol514RDecny1M4
\r
33 pmVpbcbrpI4zlZN3Vjlpqb3fCxWwe9dYuB3//3VusK36TF7mah4dY2PH41VKoSeKRfNJ
\r
34 v+BVokL7tgNOqKXnbzqRLlFaM4FxVNn2OTfGPPFqqo21Me+y4Ku69n+dafkwJ4Y7SJu3
\r
36 X-Received: by 10.112.136.4 with SMTP id pw4mr2479583lbb.79.1364653291735;
\r
37 Sat, 30 Mar 2013 07:21:31 -0700 (PDT)
\r
38 Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi.
\r
40 by mx.google.com with ESMTPS id kw9sm2678651lbb.4.2013.03.30.07.21.30
\r
41 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
42 Sat, 30 Mar 2013 07:21:30 -0700 (PDT)
\r
43 From: Jani Nikula <jani@nikula.org>
\r
44 To: notmuch@notmuchmail.org
\r
45 Subject: [PATCH v2 1/3] cli: config: remove unnecessary braces from if blocks
\r
46 Date: Sat, 30 Mar 2013 16:21:20 +0200
\r
48 <62be6f90ea9cad32de9d04a04cf2aa3b2c223f3d.1364652420.git.jani@nikula.org>
\r
49 X-Mailer: git-send-email 1.7.10.4
\r
50 In-Reply-To: <cover.1364652420.git.jani@nikula.org>
\r
51 References: <cover.1364652420.git.jani@nikula.org>
\r
52 In-Reply-To: <cover.1364652420.git.jani@nikula.org>
\r
53 References: <cover.1364652420.git.jani@nikula.org>
\r
55 ALoCoQkBkVZvCB/qqD3TtGXJ4bfHYm/sGHO1yXBwrR4klLLa3O+AJHy5SqdaV62lvwuAHmvDFRuo
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Sat, 30 Mar 2013 14:21:38 -0000
\r
70 Cosmetic change to drop unnecessary braces that don't even conform to
\r
71 the prevailing coding style.
\r
73 notmuch-config.c | 13 +------------
\r
74 1 file changed, 1 insertion(+), 12 deletions(-)
\r
76 diff --git a/notmuch-config.c b/notmuch-config.c
\r
77 index 48312e3..66a1cdf 100644
\r
78 --- a/notmuch-config.c
\r
79 +++ b/notmuch-config.c
\r
80 @@ -395,39 +395,28 @@ notmuch_config_open (void *ctx,
\r
81 * the configuration file, we add some comments to help the user
\r
82 * understand what can be done. */
\r
85 g_key_file_set_comment (config->key_file, NULL, NULL,
\r
86 toplevel_config_comment, NULL);
\r
89 if (! file_had_database_group)
\r
91 g_key_file_set_comment (config->key_file, "database", NULL,
\r
92 database_config_comment, NULL);
\r
95 if (! file_had_new_group)
\r
97 g_key_file_set_comment (config->key_file, "new", NULL,
\r
98 new_config_comment, NULL);
\r
101 if (! file_had_user_group)
\r
103 g_key_file_set_comment (config->key_file, "user", NULL,
\r
104 user_config_comment, NULL);
\r
107 if (! file_had_maildir_group)
\r
109 g_key_file_set_comment (config->key_file, "maildir", NULL,
\r
110 maildir_config_comment, NULL);
\r
113 - if (! file_had_search_group) {
\r
114 + if (! file_had_search_group)
\r
115 g_key_file_set_comment (config->key_file, "search", NULL,
\r
116 search_config_comment, NULL);
\r