All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix compile warning at MeeGo The gcc version is MeeGo 4.5.1
@ 2011-01-06  9:46 martin.xu
  2011-01-06  9:49 ` Sjur =?unknown-8bit?q?Br=C3=A6ndeland?=
  2011-01-06  9:54 ` Xu, Martin
  0 siblings, 2 replies; 10+ messages in thread
From: martin.xu @ 2011-01-06  9:46 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

From: blutolan <blutolan@blutolan-desktop.(none)>

---
 src/call-forwarding.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/call-forwarding.c b/src/call-forwarding.c
index 512f223..36ba4f1 100644
--- a/src/call-forwarding.c
+++ b/src/call-forwarding.c
@@ -246,7 +246,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 *cond = NULL;
 
 	cfu_voice = is_cfu_enabled(cf, &cond);
 
-- 
1.7.2.2


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [PATCH] Fix compile warning at MeeGo The gcc version is MeeGo 4.5.1
@ 2011-01-06 10:33 martin.xu
  2011-01-06 17:44 ` Marcel Holtmann
  0 siblings, 1 reply; 10+ messages in thread
From: martin.xu @ 2011-01-06 10:33 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]

From: Martin Xu <martin.xu@intel.com>

---
 src/call-forwarding.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/call-forwarding.c b/src/call-forwarding.c
index 512f223..36ba4f1 100644
--- a/src/call-forwarding.c
+++ b/src/call-forwarding.c
@@ -246,7 +246,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 *cond = NULL;
 
 	cfu_voice = is_cfu_enabled(cf, &cond);
 
-- 
1.7.2.2


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-01-07  6:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-06  9:46 [PATCH] Fix compile warning at MeeGo The gcc version is MeeGo 4.5.1 martin.xu
2011-01-06  9:49 ` Sjur =?unknown-8bit?q?Br=C3=A6ndeland?=
2011-01-06 10:01   ` Xu, Martin
2011-01-06  9:54 ` Xu, Martin
2011-01-06 14:00   ` Lucas De Marchi
  -- strict thread matches above, loose matches on Subject: below --
2011-01-06 10:33 martin.xu
2011-01-06 17:44 ` Marcel Holtmann
2011-01-07  2:53   ` Xu, Martin
2011-01-07  3:28     ` Marcel Holtmann
2011-01-07  6:52       ` Xu, Martin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.