projects
/
oweals
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e5a6af
)
fix unused but set variable
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 28 Oct 2011 20:21:52 +0000
(22:21 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 28 Oct 2011 20:21:52 +0000
(22:21 +0200)
ubusd_proto.c
patch
|
blob
|
history
diff --git
a/ubusd_proto.c
b/ubusd_proto.c
index 821c24aca87164b8b2c7479a292cb9f82d9b2f2a..d49ef48e61adb9dbb149e30913b4ade2c20b8395 100644
(file)
--- a/
ubusd_proto.c
+++ b/
ubusd_proto.c
@@
-163,7
+163,6
@@
static int ubusd_handle_lookup(struct ubus_client *cl, struct ubus_msg_buf *ub,
{
struct ubus_object *obj;
char *objpath;
- bool wildcard = false;
bool found = false;
int len;
@@
-185,7
+184,6
@@
static int ubusd_handle_lookup(struct ubus_client *cl, struct ubus_msg_buf *ub,
}
objpath[--len] = 0;
- wildcard = true;
obj = avl_find_ge_element(&path, objpath, obj, path);
if (!obj)