pve-qemu/debian/patches/pve/0035-fix-possible-unitialis...

26 lines
751 B
Diff
Raw Normal View History

2017-04-05 12:38:26 +03:00
From 6db418de8e775dd2f3699033699777498f4e2afd Mon Sep 17 00:00:00 2001
2017-04-05 11:49:19 +03:00
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
Date: Wed, 6 Apr 2016 16:45:15 +0200
2017-04-05 12:38:26 +03:00
Subject: [PATCH 35/48] fix possible unitialised return value
2017-04-05 11:49:19 +03:00
---
migration/savevm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/migration/savevm.c b/migration/savevm.c
2017-04-05 12:38:26 +03:00
index feb0dc6..d2615f4 100644
2017-04-05 11:49:19 +03:00
--- a/migration/savevm.c
+++ b/migration/savevm.c
2017-04-05 12:38:26 +03:00
@@ -1111,7 +1111,7 @@ int qemu_savevm_state_complete_precopy(QEMUFile *f, bool iterable_only)
2017-04-05 11:49:19 +03:00
QJSON *vmdesc;
int vmdesc_len;
SaveStateEntry *se;
- int ret;
+ int ret = -1;
bool in_postcopy = migration_in_postcopy(migrate_get_current());
trace_savevm_state_complete_precopy();
--
2.1.4