Re: [PATCH] Removes uninitialized variable compiler warning

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Todd Sedano <tsedano(at)pivotal(dot)io>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Removes uninitialized variable compiler warning
Date: 2017-03-20 17:04:30
Message-ID: 19126.1490029470@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Todd Sedano <tsedano(at)pivotal(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Bapat 2017-03-20 17:19:24 Re: Partition-wise join for join between (declaratively) partitioned tables
Previous Message Robert Haas 2017-03-20 16:56:18 Re: Partition-wise join for join between (declaratively) partitioned tables