]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuMonitorGetAllBlockStatsInfo: Remove superfluous variable initialization
authorTim Wiederhake <twiederh@redhat.com>
Tue, 6 Jul 2021 12:37:50 +0000 (14:37 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 13 Jul 2021 12:40:28 +0000 (14:40 +0200)
Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_monitor.c

index df1e41f68fce4de4079834434fea95469d3adfcf..19fcc5658beedc0a990a71693ec9a7c6233bf2d0 100644 (file)
@@ -2154,7 +2154,7 @@ qemuMonitorGetAllBlockStatsInfo(qemuMonitor *mon,
                                 GHashTable **ret_stats,
                                 bool backingChain)
 {
-    int ret = -1;
+    int ret;
     VIR_DEBUG("ret_stats=%p, backing=%d", ret_stats, backingChain);
 
     QEMU_CHECK_MONITOR(mon);