* gc.c (objspace_each_objects): fix return with no value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
125b4b7020
commit
48b4512f76
@ -1,3 +1,7 @@
|
|||||||
|
Thu Oct 21 23:52:00 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* gc.c (objspace_each_objects): fix return with no value.
|
||||||
|
|
||||||
Thu Oct 21 23:47:12 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Oct 21 23:47:12 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* dir.c (dir_initialize): remove useless intermediate variable.
|
* dir.c (dir_initialize): remove useless intermediate variable.
|
||||||
|
2
gc.c
2
gc.c
@ -2545,7 +2545,7 @@ objspace_each_objects(VALUE arg)
|
|||||||
}
|
}
|
||||||
if (pstart != pend) {
|
if (pstart != pend) {
|
||||||
if ((*(int (*)(void *, void *, size_t, void *))args[0])(pstart, pend, sizeof(RVALUE), (void *)args[1])) {
|
if ((*(int (*)(void *, void *, size_t, void *))args[0])(pstart, pend, sizeof(RVALUE), (void *)args[1])) {
|
||||||
return;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user