Add a return value to make compiler silent.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
cca7fb2ab1
commit
2b4fc4c916
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue