Suppress possibly-uninitialized-variable warning.
authorTom Lane
Thu, 16 Aug 2012 16:03:37 +0000 (12:03 -0400)
committerTom Lane
Thu, 16 Aug 2012 16:04:07 +0000 (12:04 -0400)
src/backend/utils/adt/rangetypes_spgist.c

index 117e9759045fce0a19c1ce6337ac238c320b52e2..b69fbfc863d70b44d3ea93eecab4d76219144b85 100644 (file)
@@ -426,8 +426,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
            RangeBound  lower,
                        upper;
            bool        empty;
-           RangeType  *range;
-
+           RangeType  *range = NULL;
            /* Restrictions on range bounds according to scan strategy */
            RangeBound *minLower = NULL,
                       *maxLower = NULL,