summaryrefslogtreecommitdiff
path: root/ext/stringio/stringio.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/stringio/stringio.c')
-rw-r--r--ext/stringio/stringio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c
index 9c23daf0bb..4fbc36bffc 100644
--- a/ext/stringio/stringio.c
+++ b/ext/stringio/stringio.c
@@ -67,7 +67,6 @@ static size_t
strio_memsize(const void *p)
{
const struct StringIO *ptr = p;
- if (!ptr) return 0;
return sizeof(struct StringIO);
}