aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/geo_spgist.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2016-04-23 10:41:11 -0400
committerBruce Momjian <bruce@momjian.us>2016-04-23 10:41:11 -0400
commit915cee4595060fd536a7c997e37e4a535c3e0d4f (patch)
treefa9a241b13bf1d301306ff45b6c1cdd7ea03a034 /src/backend/utils/adt/geo_spgist.c
parentc8e81afc60093b199a128ccdfbb692ced8e0c9cd (diff)
downloadpostgresql-915cee4595060fd536a7c997e37e4a535c3e0d4f.tar.gz
postgresql-915cee4595060fd536a7c997e37e4a535c3e0d4f.zip
Properly mark initRectBox() as taking 'void' args
Was part of box type in SP-GiST index patch. Reported-by: Emre Hasegeli
Diffstat (limited to 'src/backend/utils/adt/geo_spgist.c')
-rw-r--r--src/backend/utils/adt/geo_spgist.c2
1 files changed, 1 insertions, 1 deletions
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();