Re: [Qemu-devel] [PATCH 1/5] target-mips: fix compiler warnings (clang 5)

2017-03-13 Thread Yongbok Kim
On 04/03/2017 18:56, Philippe Mathieu-Daudé wrote: > static code analyzer complain: > > target/mips/helper.c:453:5: warning: Function call argument is an > uninitialized value > qemu_log_mask(CPU_LOG_MMU, > ^~ > > 'physical' and 'prot' are uninitialized if 'ret'

[Qemu-devel] [PATCH 1/5] target-mips: fix compiler warnings (clang 5)

2017-03-04 Thread Philippe Mathieu-Daudé
static code analyzer complain: target/mips/helper.c:453:5: warning: Function call argument is an uninitialized value qemu_log_mask(CPU_LOG_MMU, ^~ 'physical' and 'prot' are uninitialized if 'ret' is not TLBRET_MATCH. Reported-by: Clang Static Analyzer Signed-off-