projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8e81af
)
Properly mark initRectBox() as taking 'void' args
author
Bruce Momjian
<bruce@momjian.us>
Sat, 23 Apr 2016 14:41:11 +0000
(10:41 -0400)
committer
Bruce 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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/geo_spgist.c
b/src/backend/utils/adt/geo_spgist.c
index cd9db030dcf15c8f83df06c4efa4698827e2ab49..40fbfe749436a1196596370f71acdc669ae33412 100644
(file)
--- 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();