summaryrefslogtreecommitdiff
path: root/ubusd_proto.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-28 22:21:52 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-28 22:21:52 +0200
commit3706552c1c42182a8b656f95affc7e787a5b71dd (patch)
treec6e06ee5ebf399c466a001fcf7864c4dce5a0237 /ubusd_proto.c
parent8e5a6af1db52a908b53e3e8fd44a6a0af496d257 (diff)
downloadubus-3706552c1c42182a8b656f95affc7e787a5b71dd.tar.gz
fix unused but set variable
Diffstat (limited to 'ubusd_proto.c')
-rw-r--r--ubusd_proto.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ubusd_proto.c b/ubusd_proto.c
index 821c24a..d49ef48 100644
--- 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)