From: Anthony Liguori Date: Thu, 10 May 2012 14:10:42 +0000 (-0500) Subject: block: fix warning introduced in efcc7a23 X-Git-Tag: v1.1-rc2~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=04120e3bb0323c3c81c252301485ad81dd842718;p=thirdparty%2Fqemu.git block: fix warning introduced in efcc7a23 Signed-off-by: Anthony Liguori --- diff --git a/block/stream.c b/block/stream.c index 608a860aa25..8e5832273bd 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);