]> git.proxmox.com Git - pve-qemu-kvm.git/blame - debian/patches/pve/0050-fix-possible-unitialised-return-value.patch
bump version to 2.6.2-2
[pve-qemu-kvm.git] / debian / patches / pve / 0050-fix-possible-unitialised-return-value.patch
CommitLineData
6fb04df7 1From 9be0512acac31822307c8ff8bc336fee659eeeb0 Mon Sep 17 00:00:00 2001
b07d35a5
TL
2From: Thomas Lamprecht <t.lamprecht@proxmox.com>
3Date: Wed, 6 Apr 2016 16:45:15 +0200
6fb04df7 4Subject: [PATCH 50/55] fix possible unitialised return value
b07d35a5
TL
5
6---
7 migration/savevm.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/migration/savevm.c b/migration/savevm.c
6fb04df7 11index d6560f5..7b2d654 100644
b07d35a5
TL
12--- a/migration/savevm.c
13+++ b/migration/savevm.c
14@@ -1037,7 +1037,7 @@ int qemu_savevm_state_complete_precopy(QEMUFile *f, bool iterable_only)
15 QJSON *vmdesc;
16 int vmdesc_len;
17 SaveStateEntry *se;
18- int ret;
19+ int ret = -1;
20 bool in_postcopy = migration_in_postcopy(migrate_get_current());
21
22 trace_savevm_state_complete_precopy();
23--
242.1.4
25