diff options
| author | Chen Qun | 2020-02-26 09:46:44 +0100 |
|---|---|---|
| committer | Juan Quintela | 2020-02-28 09:25:49 +0100 |
| commit | 600fe89d6e627a18a01f4b7aef15d84efdb81548 (patch) | |
| tree | 66b2a56032edbb33c4504b45096cf1a25e632cc3 /tests | |
| parent | multifd: Add zstd compression multifd support (diff) | |
| download | qemu-600fe89d6e627a18a01f4b7aef15d84efdb81548.tar.gz qemu-600fe89d6e627a18a01f4b7aef15d84efdb81548.tar.xz qemu-600fe89d6e627a18a01f4b7aef15d84efdb81548.zip | |
migration/vmstate: Remove redundant statement in vmstate_save_state_v()
The "ret" has been assigned in all branches. It didn't need to be
assigned separately.
Clang static code analyzer show warning:
migration/vmstate.c:365:17: warning: Value stored to 'ret' is never read
ret = 0;
^ ~
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
