removed useless parenthesis
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 2 Aug 2014 13:55:55 +0000 (15:55 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 2 Aug 2014 13:55:55 +0000 (15:55 +0200)
src/cfg.c

index ae14ce4..c47bd06 100644 (file)
--- a/src/cfg.c
+++ b/src/cfg.c
@@ -536,14 +536,13 @@ static GKeyFile *get_sensor_key_file()
                                                &err);
 
                if (!ret) {
-                       if (err->code == G_KEY_FILE_ERROR_NOT_FOUND) {
+                       if (err->code == G_KEY_FILE_ERROR_NOT_FOUND)
                                log_fct(_("The configuration file "
                                          "does not exist."));
-                       } else {
+                       else
                                log_err(_("Failed to parse configuration "
                                          "file: %s"),
                                        path);
-                       }
                }
        }