aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index e6d5194..d1c69a2 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -52,7 +52,7 @@ split_settings_location(const gchar* location, gchar** zone, gchar** name)
if(location_dup != NULL)
g_strstrip(location_dup);
- gchar* first;
+ gchar* first = NULL;
if(location_dup && (first = strchr(location_dup, ' ')))
*first = '\0';