summaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_oid.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/btree_gist/btree_oid.c')
-rw-r--r--contrib/btree_gist/btree_oid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/btree_gist/btree_oid.c b/contrib/btree_gist/btree_oid.c
index f6b7bfa05b7..751b35df8ee 100644
--- a/contrib/btree_gist/btree_oid.c
+++ b/contrib/btree_gist/btree_oid.c
@@ -120,9 +120,8 @@ Datum
gbt_oid_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));
}