Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] android/health: Fix using uninitialized value err
@ 2014-06-17  7:34 Andrei Emeltchenko
  2014-06-17 20:03 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Andrei Emeltchenko @ 2014-06-17  7:34 UTC (permalink / raw)
  To: linux-bluetooth

From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

---
 android/health.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/health.c b/android/health.c
index 7e2c5d6..85100cd 100644
--- a/android/health.c
+++ b/android/health.c
@@ -242,7 +242,7 @@ static int register_service_additional_protocols(sdp_record_t *rec,
 	sdp_list_t *access_proto_list = NULL;
 	sdp_data_t *psm = NULL;
 	uint32_t dcpsm;
-	GError *err;
+	GError *err = NULL;
 
 	DBG("");
 
-- 
1.8.3.2


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

end of thread, other threads:[~2014-06-17 20:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-17  7:34 [PATCH] android/health: Fix using uninitialized value err Andrei Emeltchenko
2014-06-17 20:03 ` Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox