From df0968d19b034fe174f6268fb13f19e1d32f9ca1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 29 Oct 2012 23:11:08 +0100 Subject: ustream: fix variable initialization Signed-off-by: Felix Fietkau --- ustream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ustream.c') 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; -- cgit v1.2.3