aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-17 09:22:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-17 09:22:26 +0000
commit4c7f736ec2f95cfe68d8bb31df06ca5e23eeb5c1 (patch)
tree52b7c6977193dcadd645ce152fc74aec60ba44d1
parentea4fca952401f4e25adf190e1367e0aa3c3a14a4 (diff)
downloadruby-4c7f736ec2f95cfe68d8bb31df06ca5e23eeb5c1.tar.gz
objspace_dump.c: dc is no longer used [ci skip]
* ext/objspace/objspace_dump.c (heap_i): remove no longer used variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/objspace/objspace_dump.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c
index 38476aa59a..127d33283a 100644
--- a/ext/objspace/objspace_dump.c
+++ b/ext/objspace/objspace_dump.c
@@ -318,7 +318,6 @@ dump_object(VALUE obj, struct dump_config *dc)
static int
heap_i(void *vstart, void *vend, size_t stride, void *data)
{
- struct dump_config *dc = (struct dump_config *)data;
VALUE v = (VALUE)vstart;
for (; v != (VALUE)vend; v += stride) {
if (RBASIC(v)->flags)