OSDN Git Service

Suppress gcc warning about possibly-uninitialized variable. It's not
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Aug 2008 16:34:14 +0000 (16:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Aug 2008 16:34:14 +0000 (16:34 +0000)
commit4571185111cb93007002a774d408a670e68a6f08
tree9f253646ba8816052f2b47de2cecd75157c07301
parentc67f037f4f764ea8b7dc2aae4350995ab59eb493
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.
src/backend/utils/mb/conversion_procs/euc_jis_2004_and_shift_jis_2004/euc_jis_2004_and_shift_jis_2004.c