From 04120e3bb0323c3c81c252301485ad81dd842718 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Thu, 10 May 2012 09:10:42 -0500 Subject: block: fix warning introduced in efcc7a23 Signed-off-by: Anthony Liguori --- block/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'block/stream.c') diff --git a/block/stream.c b/block/stream.c index 608a860..8e58322 100644 --- a/block/stream.c +++ b/block/stream.c @@ -166,7 +166,7 @@ static void coroutine_fn stream_run(void *opaque) BlockDriverState *base = s->base; int64_t sector_num, end; int ret = 0; - int n; + int n = 0; void *buf; s->common.len = bdrv_getlength(bs); -- cgit v1.1