diff options
| author | Stefan Hajnoczi | 2014-08-27 13:08:54 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-08-28 14:42:25 +0200 |
| commit | 6d0de8eb21b7a581999ca89a9b447fd1c91e23db (patch) | |
| tree | 88e78f7ca276590386bd04b793526002c0425c9b /scripts | |
| parent | trace: avoid Python 2.5 all() in tracetool (diff) | |
| download | qemu-6d0de8eb21b7a581999ca89a9b447fd1c91e23db.tar.gz qemu-6d0de8eb21b7a581999ca89a9b447fd1c91e23db.tar.xz qemu-6d0de8eb21b7a581999ca89a9b447fd1c91e23db.zip | |
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 'scripts')
0 files changed, 0 insertions, 0 deletions
