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:
cca7fb2
)
Add a return value to make compiler silent.
author
Yousong Zhou
<yszhou4tech@gmail.com>
Thu, 25 Jul 2013 12:38:09 +0000
(20:38 +0800)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 4 Aug 2013 08:53:36 +0000
(10:53 +0200)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
libubus-io.c
patch
|
blob
|
history
diff --git
a/libubus-io.c
b/libubus-io.c
index 09f2dbf2dffe8e79ca9506d880fff1ab23819bd0..1f7b0fb6d0076a813eae9a59a6e66a9c32b703cc 100644
(file)
--- a/
libubus-io.c
+++ b/
libubus-io.c
@@
-82,6
+82,9
@@
static int writev_retry(int fd, struct iovec *iov, int iov_len)
}
iov->iov_len -= cur_len;
} while (1);
+
+ /* Should never reach here */
+ return -1;
}
int __hidden ubus_send_msg(struct ubus_context *ctx, uint32_t seq,