From: Yousong Zhou Date: Thu, 25 Jul 2013 12:38:09 +0000 (+0800) Subject: Add a return value to make compiler silent. X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=commitdiff_plain;h=2b4fc4c9163eacaf95b09773746a3dbb12cfe958 Add a return value to make compiler silent. Signed-off-by: Yousong Zhou --- diff --git a/libubus-io.c b/libubus-io.c index 09f2dbf..1f7b0fb 100644 --- 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,