pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Suppress "variable may be used uninitialized" warning.
Date: Tue, 28 Jul 2015 18:13:39 -0700
Message-ID: <55B828C3.4020000@joeconway.com> (raw)
In-Reply-To: <8117.1438131258@sss.pgh.pa.us>
References: <E1ZKEjE-0000m0-Ry@gemulon.postgresql.org>
	<55B81A67.1010104@joeconway.com>
	<8117.1438131258@sss.pgh.pa.us>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/28/2015 05:54 PM, Tom Lane wrote:
> Joe Conway <mail@joeconway.com> writes:
>>> Suppress "variable may be used uninitialized" warning.
> 
>> That's odd -- I compiled both with and without debug options
>> looking for warnings and saw none.
> 
> That warning is very compiler-dependent; smarter compilers can
> prove that an uninitialized usage is unreachable while dumber ones
> can't. I saw it on RHEL6's gcc 4.4.7.  I figure that suppressing
> warnings on any reasonably popular/modern compiler is fair game.

Ah, ok. I just felt bad that I didn't find it myself.


- -- 
Joe Conway
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJVuCjDAAoJEDfy90M199hl+qwP/ipvor/74wQpxdHCge2pepDJ
ZS/sflIP+4VpALaMGGX9MkAo7ZeFMsZ3Yu2VfW7+0wlPUvWt/dydEZZKU5e9ujAR
zEVmAfWwYimeUsWs/6i6R/P6jKkT0JnThIMgLXEJIEr/xCqiUjyCy5X1wTVaRAvd
USMPpHra4mc3X1KQrT3AMwHj3ZZA1ygul5unarQ5PoZWPwPPkHX7Hg/5q99fYynO
U7XBL5+O1HWDoGsXVPIK4oqB1L+kt7QyPyalIHf/lYO/iS+KsbIZvYLcn9JbddWK
mei56EOxRgqhwalI6HccoHHx0arjUgC3D9OFtDWkAaHsL7qMpdjhxU9Sp0E7S7Vj
IjrdE61zREw9R7fZeT4I54SKqok2VJCu1739ntnzc2tw1z+jTj/LD57sc2IbxjSI
zI5Rj1FgP3zcc73gq2eu8HzeMRkCig0AvdjI3llGTVIy4x4WDx5GncLLhCiaJ8OP
vMkNpZtHOzJuvrBNfDkZ7inO3E54uyPTt++ON5TX0YVUrG4cQnOds1g85R1QUTBj
E6YRIpeMBWqi0ErtTGN4R2BdepV/tMxVA4p9a2wIFOxxV83bIDlZsILKyVtMsZBV
SEDMbKDoT8t8/6YZ22eKmF5nORTXCY14vCOltaDQ9RnHRBYLv8dMZg9BqHnDDGeg
sRTSPf+j4r7wGOtCJEsx
=krPc
-----END PGP SIGNATURE-----


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (6+ messages)  latest in thread

Message-ID: <55B828C3.4020000@joeconway.com>
Permalink:  ../55B828C3.4020000@joeconway.com/
Also on:    postgresql.org/message-id/55B828C3.4020000@joeconway.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: mail@joeconway.com, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Suppress "variable may be used uninitialized" warning.
  In-Reply-To: <55B828C3.4020000@joeconway.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox