summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-05-27 10:41:25 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2008-05-27 10:41:25 +0000
commit2cd95cb7308dc5d164be21745c5ab187cd7862da (patch)
treec3434bfc6b39d1e5e6769a99957d2a299c0c3efd /common
parentcc2d696524d90b3c624c8857338f8572c7edff99 (diff)
Initialize pointer to avoid compiler warning
Diffstat (limited to 'common')
-rw-r--r--common/glib-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/glib-helper.c b/common/glib-helper.c
index 91b167b0..0d7c6d60 100644
--- a/common/glib-helper.c
+++ b/common/glib-helper.c
@@ -250,7 +250,7 @@ int bt_search_service(const bdaddr_t *src, const bdaddr_t *dst,
uuid_t *uuid, bt_callback_t cb, void *user_data,
bt_destroy_t destroy)
{
- struct search_context *ctxt;
+ struct search_context *ctxt = NULL;
int err;
if (!cb)