]> git.proxmox.com Git - qemu.git/commitdiff
block: fix warning introduced in efcc7a23
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 10 May 2012 14:10:42 +0000 (09:10 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 10 May 2012 14:10:42 +0000 (09:10 -0500)
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block/stream.c

index 608a860aa250f1035043989e0c9dd6428bbda192..8e5832273bdd28c73530b6b3533d7463be253520 100644 (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);