summaryrefslogtreecommitdiff
path: root/ext/-test-
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-')
-rw-r--r--ext/-test-/st/numhash/numhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/st/numhash/numhash.c b/ext/-test-/st/numhash/numhash.c
index e033886f9d..fc35f476cd 100644
--- a/ext/-test-/st/numhash/numhash.c
+++ b/ext/-test-/st/numhash/numhash.c
@@ -10,7 +10,7 @@ numhash_free(void *ptr)
static size_t
numhash_memsize(const void *ptr)
{
- return ptr ? st_memsize(ptr) : 0;
+ return st_memsize(ptr);
}
static const rb_data_type_t numhash_type = {