]> granicus.if.org Git - postgresql/commitdiff
Properly mark initRectBox() as taking 'void' args
authorBruce Momjian <bruce@momjian.us>
Sat, 23 Apr 2016 14:41:11 +0000 (10:41 -0400)
committerBruce Momjian <bruce@momjian.us>
Sat, 23 Apr 2016 14:41:11 +0000 (10:41 -0400)
Was part of box type in SP-GiST index patch.

Reported-by: Emre Hasegeli
src/backend/utils/adt/geo_spgist.c

index cd9db030dcf15c8f83df06c4efa4698827e2ab49..40fbfe749436a1196596370f71acdc669ae33412 100644 (file)
@@ -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();