RE: [PATCH 0/6] fix uninitialized variable warning

Chenqun (kuhn) posted 6 patches 3 years, 6 months ago
Only 0 patches received!
RE: [PATCH 0/6] fix uninitialized variable warning
Posted by Chenqun (kuhn) 3 years, 6 months ago
> -----Original Message-----
> From: Peter Maydell [mailto:peter.maydell@linaro.org]
> Sent: Tuesday, November 3, 2020 6:15 PM
> To: Chenqun (kuhn) <kuhn.chenqun@huawei.com>
> Cc: QEMU Developers <qemu-devel@nongnu.org>; QEMU Trivial
> <qemu-trivial@nongnu.org>; Zhanghailiang
> <zhang.zhanghailiang@huawei.com>; ganqixin <ganqixin@huawei.com>
> Subject: Re: [PATCH 0/6] fix uninitialized variable warning
> 
> On Tue, 3 Nov 2020 at 02:07, Chen Qun <kuhn.chenqun@huawei.com> wrote:
> >
> > Hi all,
> >   There are some variables initialized warnings reported by the
> > compiler, even if the default CFLAG for the compiler parameters are uesed.
> >
> > This serial has added some default values or changed the assignment places
> for the variablies to fix them.
> 
> 
> Hi; if you're reporting/fixing compiler errors/warnings please can you include
> the compiler version that produced the error in the commit message? This is
> helpful for telling us whether it's a problem with older compilers or whether this
> is a new compiler that checks for some things more carefully.
> 
Oops, I didn't consider that. 
These warnings were reported by GCC 9.3, 

Thanks,
Chen Qun