aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/cube/cube.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/contrib/cube/cube.c b/contrib/cube/cube.c
index e695a5e16c8..3df4fa32ca0 100644
--- a/contrib/cube/cube.c
+++ b/contrib/cube/cube.c
@@ -1555,7 +1555,6 @@ cube_coord_llur(PG_FUNCTION_ARGS)
{
NDBOX *cube = PG_GETARG_NDBOX(0);
int coord = PG_GETARG_INT32(1);
- bool inverse = false;
float8 result;
/* 0 is the only unsupported coordinate value */
@@ -1593,10 +1592,6 @@ cube_coord_llur(PG_FUNCTION_ARGS)
result = 0.0;
}
- /* Inverse value if needed */
- if (inverse)
- result = -result;
-
PG_RETURN_FLOAT8(result);
}