Properly mark initRectBox() as taking 'void' args

Was part of box type in SP-GiST index patch.

Reported-by: Emre Hasegeli
This commit is contained in:
Bruce Momjian 2016-04-23 10:41:11 -04:00
parent c8e81afc60
commit 915cee4595

View 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();