summaryrefslogtreecommitdiff
path: root/plugins/ofono.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ofono.c')
-rw-r--r--plugins/ofono.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ofono.c b/plugins/ofono.c
index 0dfadb86..f65d78a6 100644
--- a/plugins/ofono.c
+++ b/plugins/ofono.c
@@ -834,7 +834,7 @@ static void extract_ipv6_settings(DBusMessageIter *array,
{
DBusMessageIter dict;
char *address = NULL, *gateway = NULL;
- unsigned char prefix_length;
+ unsigned char prefix_length = 0;
char *nameservers = NULL;
const char *interface = NULL;
int index = -1;