summaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-08-27 12:08:54 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2014-08-28 13:42:25 +0100
commit6d0de8eb21b7a581999ca89a9b447fd1c91e23db (patch)
tree88e78f7ca276590386bd04b793526002c0425c9b /block.c
parent73735f72188bd5fe25c3478aa4a2f1a17cb878d8 (diff)
downloadqemu-6d0de8eb21b7a581999ca89a9b447fd1c91e23db.tar.gz
mirror: fix uninitialized variable delay_ns warnings
The gcc 4.1.2 compiler warns that delay_ns may be uninitialized in mirror_iteration(). There are two break statements in the do ... while loop that skip over the delay_ns assignment. These are probably the cause of the warning. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions