libubus: fix uninitialized variable warning
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
parent
54c78ed905
commit
4b9ed896cf
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ static void ubus_process_notify_status(struct ubus_request *req, int id, struct
|
||||||
struct blob_attr **tb;
|
struct blob_attr **tb;
|
||||||
struct blob_attr *cur;
|
struct blob_attr *cur;
|
||||||
int rem, idx = 1;
|
int rem, idx = 1;
|
||||||
int ret;
|
int ret = 0;
|
||||||
|
|
||||||
nreq = container_of(req, struct ubus_notify_request, req);
|
nreq = container_of(req, struct ubus_notify_request, req);
|
||||||
nreq->pending &= ~(1 << id);
|
nreq->pending &= ~(1 << id);
|
||||||
|
|
Loading…
Reference in a new issue