projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a return value to make compiler silent.
[project/ubus.git]
/
libubus-io.c
diff --git
a/libubus-io.c
b/libubus-io.c
index
09f2dbf
..
1f7b0fb
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);
}
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,
}
int __hidden ubus_send_msg(struct ubus_context *ctx, uint32_t seq,