summaryrefslogtreecommitdiff
path: root/ext/stringio
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-09 02:43:55 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-09 02:43:55 (GMT)
commit0d89c6db7e35120c6b1638d054aeeb6a624695d5 (patch)
treec5befe1000a32b9a70507ebe2c8fb16f4b943e26 /ext/stringio
parenteef8beb695477bdadbf25a87adf973143c366156 (diff)
stringio.c: unused variable
* ext/stringio/stringio.c (strio_memsize): remove a variable which is no longer used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/stringio')
-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 4fbc36b..7c2c51d 100644
--- a/ext/stringio/stringio.c
+++ b/ext/stringio/stringio.c
@@ -66,7 +66,6 @@ strio_free(void *p)
static size_t
strio_memsize(const void *p)
{
- const struct StringIO *ptr = p;
return sizeof(struct StringIO);
}