diff options
| author | Tuguoyi <tu.guoyi@h3c.com> | 2019-12-18 11:53:35 +0000 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2019-12-19 14:31:52 +0100 |
| commit | 66be5c3e7825cab861b3d68e87851a4ac9ff8c3d (patch) | |
| tree | 40bd29e7968fb078e1cbce21738950244c32b580 /hw/usb/dev-network.c | |
| parent | eb4ea9aaa0051054b3c148ad8631be7510851681 (diff) | |
| download | focaccia-qemu-66be5c3e7825cab861b3d68e87851a4ac9ff8c3d.tar.gz focaccia-qemu-66be5c3e7825cab861b3d68e87851a4ac9ff8c3d.zip | |
qcow2: Move error check of local_err near its assignment
The local_err check outside of the if block was necessary when it was introduced in commit d1258dd0c87 because it needed to be executed even if qcow2_load_autoloading_dirty_bitmaps() returned false. After some modifications that all required the error check to remain where it is, commit 9c98f145dfb finally moved the qcow2_load_dirty_bitmaps() call into the if block, so now the error check should be there, too. Signed-off-by: Guoyi Tu <tu.guoyi@h3c.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/usb/dev-network.c')
0 files changed, 0 insertions, 0 deletions