projects
/
psensor-pkg-ubuntu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merged from debian package: udisk2 dep does not exist on kfreebsd
[psensor-pkg-ubuntu.git]
/
src
/
pxdg.c
diff --git
a/src/pxdg.c
b/src/pxdg.c
index
6ef9d28
..
14c3021
100644
(file)
--- a/
src/pxdg.c
+++ b/
src/pxdg.c
@@
-77,14
+77,13
@@
static GKeyFile *get_key_file(const char *path)
| G_KEY_FILE_KEEP_TRANSLATIONS,
NULL);
| G_KEY_FILE_KEEP_TRANSLATIONS,
NULL);
- if (ret)
{
+ if (ret)
return kfile;
return kfile;
- } else {
- log_err("Failed to parse: %s", path);
- g_key_file_free(kfile);
- return NULL;
- }
+ log_err("Failed to parse: %s", path);
+
+ g_key_file_free(kfile);
+ return NULL;
}
static int is_user_desktop_autostarted(GKeyFile *f)
}
static int is_user_desktop_autostarted(GKeyFile *f)