[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 02ba92: migration: fix compiler warning on un
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 02ba92: migration: fix compiler warning on uninitialized v... |
Date: |
Tue, 01 Nov 2016 03:30:04 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 02ba9265e8d65f24d0cdca158d96e0b0451f6b71
https://github.com/qemu/qemu/commit/02ba9265e8d65f24d0cdca158d96e0b0451f6b71
Author: Jeff Cody <address@hidden>
Date: 2016-11-01 (Tue, 01 Nov 2016)
Changed paths:
M migration/colo.c
Log Message:
-----------
migration: fix compiler warning on uninitialized variable
Some older GCC versions (e.g. 4.4.7) report a warning on an
uninitialized variable for 'request', even though all possible code
paths that reference 'request' will be initialized. To appease
these versions, initialize the variable to 0.
Reported-by: Mark Cave-Ayland <address@hidden>
Signed-off-by: Jeff Cody <address@hidden>
Reviewed-by: zhanghailiang <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 02ba92: migration: fix compiler warning on uninitialized v...,
GitHub <=