Re: [PATCH] tests/plugin: prevent uninitialized warning

2020-02-06 Thread Alex Bennée
hender...@linaro.org >>Subject: Re: [PATCH] tests/plugin: prevent uninitialized warning >> >> >>kuhn.chen...@huawei.com writes: >> >>> From: Chen Qun >>> >>> According to the glibc function requirements, we need initialise the >>>

RE: [PATCH] tests/plugin: prevent uninitialized warning

2020-02-06 Thread Chenqun (kuhn)
>-Original Message- >From: Alex Bennée [mailto:alex.ben...@linaro.org] >Sent: Thursday, February 6, 2020 8:46 PM >To: Chenqun (kuhn) >Cc: qemu-devel@nongnu.org; Zhanghailiang >; qemu-triv...@nongnu.org; >richard.hender...@linaro.org >Subject: Re: [PATC

Re: [PATCH] tests/plugin: prevent uninitialized warning

2020-02-06 Thread Alex Bennée
kuhn.chen...@huawei.com writes: > From: Chen Qun > > According to the glibc function requirements, we need initialise > the variable. Otherwise there will be compilation warnings: > > glib-autocleanups.h:28:3: warning: ‘out’ may be > used uninitialized in this function [-Wmaybe-uninitialized]

Re: [PATCH] tests/plugin: prevent uninitialized warning

2020-02-06 Thread Thomas Huth
On 06/02/2020 10.32, kuhn.chen...@huawei.com wrote: > From: Chen Qun > > According to the glibc function requirements, we need initialise > the variable. Otherwise there will be compilation warnings: > > glib-autocleanups.h:28:3: warning: ‘out’ may be > used uninitialized in this function [-Wma

[PATCH] tests/plugin: prevent uninitialized warning

2020-02-06 Thread kuhn.chenqun
From: Chen Qun According to the glibc function requirements, we need initialise the variable. Otherwise there will be compilation warnings: glib-autocleanups.h:28:3: warning: ‘out’ may be used uninitialized in this function [-Wmaybe-uninitialized] g_free (*pp); ^~~~ Reported-by: