From 188744a0e57f78e8e9662629de46780cf889ee38 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Sat, 2 Aug 2014 15:55:55 +0200 Subject: [PATCH] removed useless parenthesis --- src/cfg.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cfg.c b/src/cfg.c index ae14ce4..c47bd06 100644 --- 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); - } } } -- 2.7.4