diff options
author | Jani Nikula <jani@nikula.org> | 2013-03-30 16:21:20 +0200 |
---|---|---|
committer | David Bremner <bremner@unb.ca> | 2013-03-30 18:30:06 -0400 |
commit | bf3436669343b935a119fd37c4469c8948610121 (patch) | |
tree | dd4890c497be757b3174bd5d7286a97aa53acebf /notmuch-config.c | |
parent | f55b35b3df4d8708dfba0e95e33877305fd9f8d9 (diff) |
cli: config: remove unnecessary braces from if blocks
Cosmetic change to drop unnecessary braces that don't even conform to
the prevailing coding style.
Diffstat (limited to 'notmuch-config.c')
-rw-r--r-- | notmuch-config.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/notmuch-config.c b/notmuch-config.c index 48312e3f..66a1cdfb 100644 --- a/notmuch-config.c +++ b/notmuch-config.c @@ -395,39 +395,28 @@ notmuch_config_open (void *ctx, * the configuration file, we add some comments to help the user * understand what can be done. */ if (config->is_new) - { g_key_file_set_comment (config->key_file, NULL, NULL, toplevel_config_comment, NULL); - } if (! file_had_database_group) - { g_key_file_set_comment (config->key_file, "database", NULL, database_config_comment, NULL); - } if (! file_had_new_group) - { g_key_file_set_comment (config->key_file, "new", NULL, new_config_comment, NULL); - } if (! file_had_user_group) - { g_key_file_set_comment (config->key_file, "user", NULL, user_config_comment, NULL); - } if (! file_had_maildir_group) - { g_key_file_set_comment (config->key_file, "maildir", NULL, maildir_config_comment, NULL); - } - if (! file_had_search_group) { + if (! file_had_search_group) g_key_file_set_comment (config->key_file, "search", NULL, search_config_comment, NULL); - } return config; } |