From: Bruce Momjian Date: Sat, 23 Apr 2016 14:41:11 +0000 (-0400) Subject: Properly mark initRectBox() as taking 'void' args X-Git-Tag: REL9_6_BETA1~111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=915cee4595060fd536a7c997e37e4a535c3e0d4f;p=thirdparty%2Fpostgresql.git Properly mark initRectBox() as taking 'void' args Was part of box type in SP-GiST index patch. Reported-by: Emre Hasegeli --- 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();