Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ustream.c')
-rw-r--r--ustream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ustream.c b/ustream.c
index 3295417..ed4fbb3 100644
--- a/ustream.c
+++ b/ustream.c
@@ -403,7 +403,7 @@ static int ustream_write_buffered(struct ustream *s, const char *data, int len,
int ustream_write(struct ustream *s, const char *data, int len, bool more)
{
struct ustream_buf_list *l = &s->w;
- int wr;
+ int wr = 0;
if (s->write_error)
return 0;