diff --git a/src/backend/utils/adt/rangetypes_spgist.c b/src/backend/utils/adt/rangetypes_spgist.c index 117e975904..b69fbfc863 100644 --- a/src/backend/utils/adt/rangetypes_spgist.c +++ b/src/backend/utils/adt/rangetypes_spgist.c @@ -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,