Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 82 / 5717806f086bb865dc83bf369575b69b481317
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
9 X-Spam-Flag: NO\r
10 X-Spam-Score: -0.7\r
11 X-Spam-Level: \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
35         h0eg==\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
39         [80.223.81.27])\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
47 Message-Id:\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
54 X-Gm-Message-State:\r
55  ALoCoQkBkVZvCB/qqD3TtGXJ4bfHYm/sGHO1yXBwrR4klLLa3O+AJHy5SqdaV62lvwuAHmvDFRuo\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\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
69 \r
70 Cosmetic change to drop unnecessary braces that don't even conform to\r
71 the prevailing coding style.\r
72 ---\r
73  notmuch-config.c |   13 +------------\r
74  1 file changed, 1 insertion(+), 12 deletions(-)\r
75 \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
83      if (config->is_new)\r
84 -    {\r
85         g_key_file_set_comment (config->key_file, NULL, NULL,\r
86                                 toplevel_config_comment, NULL);\r
87 -    }\r
88  \r
89      if (! file_had_database_group)\r
90 -    {\r
91         g_key_file_set_comment (config->key_file, "database", NULL,\r
92                                 database_config_comment, NULL);\r
93 -    }\r
94  \r
95      if (! file_had_new_group)\r
96 -    {\r
97         g_key_file_set_comment (config->key_file, "new", NULL,\r
98                                 new_config_comment, NULL);\r
99 -    }\r
100  \r
101      if (! file_had_user_group)\r
102 -    {\r
103         g_key_file_set_comment (config->key_file, "user", NULL,\r
104                                 user_config_comment, NULL);\r
105 -    }\r
106  \r
107      if (! file_had_maildir_group)\r
108 -    {\r
109         g_key_file_set_comment (config->key_file, "maildir", NULL,\r
110                                 maildir_config_comment, NULL);\r
111 -    }\r
112  \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
117 -    }\r
118  \r
119      return config;\r
120  }\r
121 -- \r
122 1.7.10.4\r
123 \r