summaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_float8.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/btree_gist/btree_float8.c')
-rw-r--r--contrib/btree_gist/btree_float8.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/btree_gist/btree_float8.c b/contrib/btree_gist/btree_float8.c
index c898bf2d975..3b6661038a1 100644
--- a/contrib/btree_gist/btree_float8.c
+++ b/contrib/btree_gist/btree_float8.c
@@ -119,9 +119,8 @@ Datum
gbt_float8_compress(PG_FUNCTION_ARGS)
{
GISTENTRY *entry = (GISTENTRY *) PG_GETARG_POINTER(0);
- GISTENTRY *retval = NULL;
- PG_RETURN_POINTER(gbt_num_compress(retval, entry, &tinfo));
+ PG_RETURN_POINTER(gbt_num_compress(entry, &tinfo));
}