Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
Notes:
Version 2:
- new (unrelated) patch
src/qemu/qemu_monitor_json.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c
index 0aa34b8..60e6b00 100644
--- a/src/qemu/qemu_monitor_json.c
+++ b/src/qemu/qemu_monitor_json.c
@@ -2534,9 +2534,10 @@ qemuMonitorJSONGetMigrationStatusReply(virJSONValuePtr reply,
if (virJSONValueObjectGetNumberUlong(ram, "duplicate",
&status->ram_duplicate) == 0)
status->ram_duplicate_set = true;
- virJSONValueObjectGetNumberUlong(ram, "normal",
&status->ram_normal);
- virJSONValueObjectGetNumberUlong(ram, "normal-bytes",
- &status->ram_normal_bytes);
+ ignore_value(virJSONValueObjectGetNumberUlong(ram, "normal",
+ &status->ram_normal));
+ ignore_value(virJSONValueObjectGetNumberUlong(ram, "normal-bytes",
+
&status->ram_normal_bytes));
virJSONValuePtr disk = virJSONValueObjectGet(ret, "disk");
if (disk) {
--
2.1.0