OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bce5070
)
obexd/service: Remove unused local variable
author
Szymon Janc
<szymon.janc@tieto.com>
Fri, 4 Oct 2013 09:05:33 +0000
(11:05 +0200)
committer
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Fri, 4 Oct 2013 11:10:33 +0000
(14:10 +0300)
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
patch
|
blob
|
history
diff --git
a/obexd/src/service.c
b/obexd/src/service.c
index
6b8533b
..
c088535
100644
(file)
--- 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;