projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db8eab6
)
timeserver: Get rid of useless and annoying error message
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Fri, 15 Jun 2012 12:34:07 +0000
(15:34 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 15 Jun 2012 12:54:53 +0000
(15:54 +0300)
src/timeserver.c
patch
|
blob
|
history
diff --git
a/src/timeserver.c
b/src/timeserver.c
index
e218fe2
..
467da52
100644
(file)
--- a/
src/timeserver.c
+++ b/
src/timeserver.c
@@
-65,7
+65,6
@@
static void save_timeservers(char **servers)
static char **load_timeservers()
{
GKeyFile *keyfile;
- GError *error = NULL;
char **servers = NULL;
keyfile = __connman_storage_load_global();
@@
-73,11
+72,7
@@
static char **load_timeservers()
return NULL;
servers = g_key_file_get_string_list(keyfile, "global",
- "Timeservers", NULL, &error);
- if (error) {
- DBG("Error loading timeservers: %s", error->message);
- g_error_free(error);
- }
+ "Timeservers", NULL, NULL);
g_key_file_free(keyfile);