summaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hash.c b/hash.c
index 65f56adf..f5130e73 100644
--- a/hash.c
+++ b/hash.c
@@ -613,6 +613,7 @@ val remhash(val hash, val key)
set(pchain, nappend2(ldiff(deref(pchain), cell), cdr(cell)));
h->count--;
bug_unless (h->count >= 0);
+ return cdr(existing);
}
return nil;