On 2021/3/3 18:17, Daniel P. Berrangé wrote:
This is a bit wierd. There should only be risk of uninitialized variable if there is a 'return' or 'goto' statement between the variable declaration and and initialization, which is not the case in either scenario here.What OS distro and compiler + version are you seeing this with ?
This was noticed when compiling QEMU with gcc-7.3.0 on CentOS. Thanks, Zenghui