postgres.git / summary / log / commit / refs
commit 915cee4595060fd536a7c997e37e4a535c3e0d4f
Author: Bruce Momjian <bruce@momjian.us>
Date: Sat Apr 23 14:41:11 2016 +0000
First released in: 9.6.0
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 cd9db030dcf..40fbfe74943 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();
[parent: c8e81afc6009]