projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0c62ab
)
ofono: Fix uninitialized value
author
Henrique Dante de Almeida
<hdante@profusion.mobi>
Tue, 8 May 2012 19:20:48 +0000
(16:20 -0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Wed, 9 May 2012 14:14:27 +0000
(17:14 +0300)
plugins/ofono.c
patch
|
blob
|
history
diff --git
a/plugins/ofono.c
b/plugins/ofono.c
index
f65d78a
..
b607c9b
100644
(file)
--- a/
plugins/ofono.c
+++ b/
plugins/ofono.c
@@
-43,8
+43,6
@@
#include "mcc.h"
-#define uninitialized_var(x) x = x
-
#define OFONO_SERVICE "org.ofono"
#define OFONO_MANAGER_INTERFACE OFONO_SERVICE ".Manager"
@@
-937,7
+935,7
@@
static connman_bool_t ready_to_create_device(struct modem_data *modem)
static void create_device(struct modem_data *modem)
{
struct connman_device *device;
- char *
uninitialized_var(ident)
;
+ char *
ident = NULL
;
DBG("%s", modem->path);