summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorHenrique Dante de Almeida <hdante@profusion.mobi>2012-05-08 16:20:52 -0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-05-09 17:15:04 +0300
commitab1fd92707f843a2198e2364c4a789e9117fef33 (patch)
treed60da12cc270e270aff0dc8bff09c8cf7ac2aa6a /plugins
parenteeb5fc8986c779a26e88182534b092e45e7ff443 (diff)
downloadconnman-ab1fd92707f843a2198e2364c4a789e9117fef33.tar.gz
connman-ab1fd92707f843a2198e2364c4a789e9117fef33.tar.bz2
connman-ab1fd92707f843a2198e2364c4a789e9117fef33.zip
ofono: Fix uninitialized variable
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ofono.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ofono.c b/plugins/ofono.c
index b607c9b4..ae419be4 100644
--- a/plugins/ofono.c
+++ b/plugins/ofono.c
@@ -1060,7 +1060,7 @@ static void remove_network(struct modem_data *modem)
static int add_cm_context(struct modem_data *modem, const char *context_path,
DBusMessageIter *dict)
{
- const char *context_type;
+ const char *context_type = NULL;
struct network_context *context = NULL;
connman_bool_t active = FALSE;