Re: [HACKERS] [PATCH] Removes uninitialized variable compiler warning - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] [PATCH] Removes uninitialized variable compiler warning
Date
Msg-id 19126.1490029470@sss.pgh.pa.us
Whole thread Raw
In response to [HACKERS] [PATCH] Removes uninitialized variable compiler warning  (Todd Sedano <tsedano@pivotal.io>)
Responses Re: [HACKERS] [PATCH] Removes uninitialized variable compiler warning  (Todd Sedano <tsedano@pivotal.io>)
List pgsql-hackers
Todd Sedano <tsedano@pivotal.io> writes:
> This patch removes a compiler warning.
> warning: variable 'lenlemm' is uninitialized when used here
> [-Wuninitialized]

Hm, on what compiler?  AFAICS, that parsetext() function hasn't
changed meaningfully since 2007, and nobody complained of
uninitialized-variable warnings in it before.

We're generally willing to try to silence such warnings on mainstream
compilers, but not on weird ones ...
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Partition-wise join for join between (declaratively)partitioned tables
Next
From: Ashutosh Bapat
Date:
Subject: Re: [HACKERS] Partition-wise join for join between (declaratively)partitioned tables