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:
eeb5fc8
)
ofono: Fix uninitialized variable
author
Henrique Dante de Almeida
<hdante@profusion.mobi>
Tue, 8 May 2012 19:20:52 +0000
(16:20 -0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Wed, 9 May 2012 14:15:04 +0000
(17:15 +0300)
plugins/ofono.c
patch
|
blob
|
history
diff --git
a/plugins/ofono.c
b/plugins/ofono.c
index
b607c9b
..
ae419be
100644
(file)
--- 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;