pgsql: Suppress uninitialized-variable warnings.
Started by Tom Laneabout 10 years ago1 messagescomitters
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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers