ustream: fix variable initialization
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
parent
15ce776772
commit
df0968d19b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue