summaryrefslogtreecommitdiff
path: root/obexd
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2013-10-04 11:05:33 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-10-04 14:10:33 +0300
commit5cbc2e68ff3ba03b0c2b5f78782c59d8cc888fb6 (patch)
treea4948a963c397240071a1fd2588a492e27502fa4 /obexd
parentbce50703cd7fb1f51ec490b082b89b7a4c442462 (diff)
obexd/service: Remove unused local variable
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]
Diffstat (limited to 'obexd')
-rw-r--r--obexd/src/service.c2
1 files changed, 0 insertions, 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;