From 5cbc2e68ff3ba03b0c2b5f78782c59d8cc888fb6 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Fri, 4 Oct 2013 11:05:33 +0200 Subject: [PATCH] obexd/service: Remove unused local variable MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This fix following build error: CC obexd/src/obexd-service.o obexd/src/service.c: In function ‘obex_service_driver_register’: obexd/src/service.c:100:10: error: unused variable ‘l’ [-Werror=unused-variable] --- obexd/src/service.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/obexd/src/service.c b/obexd/src/service.c index 6b8533b55..c088535e9 100644 --- a/obexd/src/service.c +++ b/obexd/src/service.c @@ -97,8 +97,6 @@ static struct obex_service_driver *find_driver(uint16_t service) int obex_service_driver_register(struct obex_service_driver *driver) { - GSList *l; - if (!driver) { error("Invalid driver"); return -EINVAL; -- 2.11.0