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:
54c78ed
)
libubus: fix uninitialized variable warning
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 15 Dec 2012 13:11:15 +0000
(14:11 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 15 Dec 2012 13:11:15 +0000
(14:11 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
libubus-req.c
patch
|
blob
|
history
diff --git
a/libubus-req.c
b/libubus-req.c
index 4d0adb653facb0136b5e262af4439dba1048c0a4..ec8297938403a776190ce7ea4d54dd35430a0156 100644
(file)
--- a/
libubus-req.c
+++ b/
libubus-req.c
@@
-392,7
+392,7
@@
static void ubus_process_notify_status(struct ubus_request *req, int id, struct
struct blob_attr **tb;
struct blob_attr *cur;
int rem, idx = 1;
- int ret;
+ int ret
= 0
;
nreq = container_of(req, struct ubus_notify_request, req);
nreq->pending &= ~(1 << id);