diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-30 02:11:08 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-30 02:11:08 +0400 |
commit | df0968d19b034fe174f6268fb13f19e1d32f9ca1 (patch) | |
tree | 744c9c898977a46d37a72ae69c713efef22830ad /ustream.c | |
parent | 15ce77677281a91b7a26b693a129a92997d3d6bc (diff) |
ustream: fix variable initialization
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'ustream.c')
-rw-r--r-- | ustream.c | 2 |
1 files changed, 1 insertions, 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; |