From: Jean-Philippe Orsini Date: Sat, 2 Aug 2014 13:55:55 +0000 (+0200) Subject: removed useless parenthesis X-Git-Tag: v1.1.1~41 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=188744a0e57f78e8e9662629de46780cf889ee38 removed useless parenthesis --- 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); - } } }