block: fix warning introduced in efcc7a23

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Anthony Liguori 2012-05-10 09:10:42 -05:00
parent a7aae221b0
commit 04120e3bb0
1 changed files with 1 additions and 1 deletions

View File

@ -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);