summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-10-02 11:05:44 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-10-02 11:19:01 +0200
commit8232558057813074ce6bdb3317a9fb4888f7b8e3 (patch)
tree8969699b9d133efc8609a99237bead0601a18cfe /compat
parentec43fff7e72686e1a7d0e473d62bd4a2793babb7 (diff)
downloadbluez-8232558057813074ce6bdb3317a9fb4888f7b8e3.tar.gz
Fix variable initializations
Diffstat (limited to 'compat')
-rw-r--r--compat/hidd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/hidd.c b/compat/hidd.c
index 212c09269..144cceb18 100644
--- a/compat/hidd.c
+++ b/compat/hidd.c
@@ -453,6 +453,7 @@ static void do_connect(int ctl, bdaddr_t *src, bdaddr_t *dst, uint8_t subclass,
int csk, isk, err;
memset(&req, 0, sizeof(req));
+ name[0] = '\0';
err = get_sdp_device_info(src, dst, &req);
if (err < 0 && fakehid)