Re: pgsql: pgbench: Allow changing weights for scripts - Mailing list pgsql-committers

From Andres Freund
Subject Re: pgsql: pgbench: Allow changing weights for scripts
Date
Msg-id 20160319193140.qvnfvix5eepbz6p7@alap3.anarazel.de
Whole thread Raw
In response to Re: pgsql: pgbench: Allow changing weights for scripts  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: pgsql: pgbench: Allow changing weights for scripts
List pgsql-committers
On 2016-03-19 20:23:03 +0100, Fabien COELHO wrote:
>
> >pgbench.c:2765: warning: 'ps.stats.lag.sum2' is used uninitialized in this function
>
> Sorry for the noise.
>
> Strangely, I did not get that warning with gcc 4.8.4.
>
> ISTM that in stack variables are initialized to zero automatically, so
> although it is not explicitely initialized, it is not uninitialized...

Uh? They're not.



pgsql-committers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: pgsql: pgbench: Allow changing weights for scripts
Next
From: Fabien COELHO
Date:
Subject: Re: pgsql: pgbench: Allow changing weights for scripts