[ekiga] [windows] Remove micro-optimisations used only once per execution
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] [windows] Remove micro-optimisations used only once per execution
- Date: Tue, 21 Feb 2012 13:23:45 +0000 (UTC)
commit 490c1cf5dbf485d71a76c15525e3f22cc37e3734
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Tue Feb 21 14:20:30 2012 +0100
[windows] Remove micro-optimisations used only once per execution
lib/gmconf/gmconf-glib.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/lib/gmconf/gmconf-glib.c b/lib/gmconf/gmconf-glib.c
index 2de7270..a73f353 100644
--- a/lib/gmconf/gmconf-glib.c
+++ b/lib/gmconf/gmconf-glib.c
@@ -1108,12 +1108,9 @@ gm_conf_load_user_conf (DataBase *db)
filename = gm_conf_get_user_conf_filename ();
result = database_load_file (db, filename);
- if (G_LIKELY (result))
- {}
- else
+ if (! result)
g_log (G_LOG_DOMAIN, G_LOG_LEVEL_WARNING,
"couldn't read the user configuration in %s", filename);
-
g_free (filename);
return result;
@@ -1132,9 +1129,7 @@ gm_conf_load_sys_conf (DataBase *db)
"ekiga.schemas", NULL);
result = database_load_file (db, filename);
- if (G_LIKELY (result))
- {}
- else
+ if (! result)
g_log (G_LOG_DOMAIN, G_LOG_LEVEL_WARNING,
"couldn't read the system configuration in %s", filename);
g_free (filename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]