diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-09 01:01:17 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-09 01:01:17 +0000 |
commit | f0b726be62a364f1c4088bec9617a5bd3b889aa1 (patch) | |
tree | 747bdfdc049be6d4290cf28a1a7675fe7a8efcfa /ext/stringio | |
parent | ab92677972f3b7cc39e6bfdb54930e66c490d322 (diff) | |
download | ruby-f0b726be62a364f1c4088bec9617a5bd3b889aa1.tar.gz |
* ext/**/*.c (*_memsize): same as r52986 for extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/stringio')
-rw-r--r-- | ext/stringio/stringio.c | 1 |
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); } |