summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 6e2d882768..c9b13bd0c8 100644
--- a/thread.c
+++ b/thread.c
@@ -3983,7 +3983,7 @@ struct thgroup {
static size_t
thgroup_memsize(const void *ptr)
{
- return ptr ? sizeof(struct thgroup) : 0;
+ return sizeof(struct thgroup);
}
static const rb_data_type_t thgroup_data_type = {