aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-05-10 09:10:42 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-05-10 09:10:42 -0500
commit04120e3bb0323c3c81c252301485ad81dd842718 (patch)
treef1673b0853f439539a49a97ea734277b2545521f /block
parenta7aae221b0ef3125dedbbfe49a3f758a21a73330 (diff)
downloadqemu-04120e3bb0323c3c81c252301485ad81dd842718.zip
qemu-04120e3bb0323c3c81c252301485ad81dd842718.tar.gz
qemu-04120e3bb0323c3c81c252301485ad81dd842718.tar.bz2
block: fix warning introduced in efcc7a23
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block')
-rw-r--r--block/stream.c2
1 files changed, 1 insertions, 1 deletions
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);