aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_float4.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/btree_gist/btree_float4.c')
-rw-r--r--contrib/btree_gist/btree_float4.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/btree_gist/btree_float4.c b/contrib/btree_gist/btree_float4.c
index 778d8dad844..6a1db380eaf 100644
--- a/contrib/btree_gist/btree_float4.c
+++ b/contrib/btree_gist/btree_float4.c
@@ -112,9 +112,8 @@ Datum
gbt_float4_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));
}