From 915cee4595060fd536a7c997e37e4a535c3e0d4f Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 23 Apr 2016 10:41:11 -0400 Subject: [PATCH] Properly mark initRectBox() as taking 'void' args Was part of box type in SP-GiST index patch. Reported-by: Emre Hasegeli --- src/backend/utils/adt/geo_spgist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/utils/adt/geo_spgist.c b/src/backend/utils/adt/geo_spgist.c index cd9db030dc..40fbfe7494 100644 --- a/src/backend/utils/adt/geo_spgist.c +++ b/src/backend/utils/adt/geo_spgist.c @@ -171,7 +171,7 @@ getRangeBox(BOX *box) * initialize the struct to cover the whole 4D space. */ static RectBox * -initRectBox() +initRectBox(void) { RectBox *rect_box = (RectBox *) palloc(sizeof(RectBox)); double infinity = get_float8_infinity();