Re: [Qemu-block] [PATCH 1/1] migration: fix compiler warning on uninitialized variable

2016-10-31 Thread Hailiang Zhang
On 2016/11/1 5:50, Jeff Cody wrote: 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. Thanks for reportin

[Qemu-block] [PATCH 1/1] migration: fix compiler warning on uninitialized variable

2016-10-31 Thread Jeff Cody
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 Signed-off-by: Jeff Cody --