summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-07-24 23:58:10 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-07-24 23:58:10 +0900
commit8a298605e6667bfc15a1bef49b481f35829c0717 (patch)
tree008ca5d93fbecacfd0985efc75cefd637586ba69
parent5146219cbdb47b6619640fb9386fb27bbe799183 (diff)
downloadmruby-8a298605e6667bfc15a1bef49b481f35829c0717.tar.gz
mruby-8a298605e6667bfc15a1bef49b481f35829c0717.zip
remove an unused local variable
-rw-r--r--src/gc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gc.c b/src/gc.c
index 0a9e1c3a5..6e05730ca 100644
--- a/src/gc.c
+++ b/src/gc.c
@@ -777,8 +777,6 @@ gc_gray_mark(mrb_state *mrb, struct RBasic *obj)
static void
gc_mark_gray_list(mrb_state *mrb) {
- struct RBasic *obj;
-
while (mrb->gray_list) {
if (is_gray(mrb->gray_list))
gc_mark_children(mrb, mrb->gray_list);