---
src/call-forwarding.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/call-forwarding.c b/src/call-forwarding.c
index 2068d6b..73ce433 100644
--- a/src/call-forwarding.c
+++ b/src/call-forwarding.c
@@ -36,6 +36,8 @@
#include "common.h"
#include "simutil.h"
+#define uninitialized_var(x) x = x
+
#define CALL_FORWARDING_FLAG_CACHED 0x1
#define CALL_FORWARDING_FLAG_CPHS_CFF 0x2
@@ -246,7 +248,7 @@ static gboolean is_cfu_enabled(struct ofono_call_forwarding *cf,
static void sim_set_cf_indicator(struct ofono_call_forwarding *cf)
{
gboolean cfu_voice;
- struct ofono_call_forwarding_condition *cond;
+ struct ofono_call_forwarding_condition *uninitialized_var(cond);
cfu_voice = is_cfu_enabled(cf, &cond);
--
1.7.4.1
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.