pgsql: Suppress gcc warning about possibly-uninitialized variable.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress gcc warning about possibly-uninitialized variable.
Date: 2008-08-29 16:34:14
Message-ID: 20080829163414.A65F8755315@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Suppress gcc warning about possibly-uninitialized variable. It's not
clear to me why I'd not seen this message before --- on F-9 it seems to
only happen if Asserts are disabled, which ought to be irrelevant.
Maybe that affects a decision whether to inline get_ten(), which would
be needed to expose the warning condition to the compiler? Anyway,
the fix is clear.

Modified Files:
--------------
pgsql/src/backend/utils/mb/conversion_procs/euc_jis_2004_and_shift_jis_2004:
euc_jis_2004_and_shift_jis_2004.c (r1.3 -> r1.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/conversion_procs/euc_jis_2004_and_shift_jis_2004/euc_jis_2004_and_shift_jis_2004.c?r1=1.3&r2=1.4)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2008-08-29 16:47:15 Re: Re: [COMMITTERS] pgsql: Remove all traces that suggest that a non-Bison yacc might be
Previous Message Alvaro Herrera 2008-08-29 16:22:52 Re: [COMMITTERS] pgsql: Remove all traces that suggest that a non-Bison yacc might be