summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-01-01 23:52:45 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2018-01-01 23:52:45 +0000
commit063dadfee9aff8556e22026ee2c8436b07e374e5 (patch)
treea6768dd51b017c71d22ffb99ee58c72544f830b5
parentbce9e97f39e320dcf8f46205791290d220671de7 (diff)
parent839685b2c5c3089c7b41e3e0d556c0fe963a9605 (diff)
Merge "Fix build error in gcc 7.2"
-rw-r--r--telephony-binding/gdbus/ofono_voicecallmanager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony-binding/gdbus/ofono_voicecallmanager.c b/telephony-binding/gdbus/ofono_voicecallmanager.c
index 76cf409..2356366 100644
--- a/telephony-binding/gdbus/ofono_voicecallmanager.c
+++ b/telephony-binding/gdbus/ofono_voicecallmanager.c
@@ -30,7 +30,7 @@ static void call_added(OrgOfonoVoiceCallManager *manager,
GVariantIter *iter;
gchar *key;
GVariant *value;
- const gchar *state, *cl = NULL;
+ const gchar *state = NULL, *cl = NULL;
g_variant_get(properties, "a{sv}", &iter);
while (g_variant_iter_loop(iter, "{sv}", &key, &value)) {