From b671636c82f5c2eff114d3eb98cae8ff599f3fdc Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Tue, 10 May 2011 15:52:11 +0200 Subject: [PATCH] Remove unused err variable from init_conn_list --- plugins/hciops.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/hciops.c b/plugins/hciops.c index fdbf523e7..a96becf0b 100644 --- a/plugins/hciops.c +++ b/plugins/hciops.c @@ -2754,7 +2754,7 @@ static void init_conn_list(int index) struct dev_info *dev = &devs[index]; struct hci_conn_list_req *cl; struct hci_conn_info *ci; - int err, i; + int i; DBG("hci%d", index); @@ -2780,8 +2780,6 @@ static void init_conn_list(int index) conn->handle = ci->handle; } - err = 0; - failed: g_free(cl); } -- 2.47.3