pgsql: Suppress uninitialized-variable warnings.
pgsql: Suppress uninitialized-variable warnings.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Suppress uninitialized-variable warnings. My compiler doesn't like the lack of initialization of "flag", and I think it's right: if there were zero keys we'd have an undefined result. The AND of zero items is TRUE, so initialize to TRUE. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/818e59373625d194bdec89631b661c4355d15f13 Modified Files -------------- src/backend/utils/adt/geo_spgist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)