mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
avoid duplicated-cond compile error.
* cont.c (cont_restore_thread): fix duplicated-cond compile error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
23e452b17b
commit
e8ccf9f758
1 changed files with 4 additions and 2 deletions
6
cont.c
6
cont.c
|
@ -709,8 +709,10 @@ cont_restore_thread(rb_context_t *cont)
|
|||
if (sec->trace_arg == NULL && th->ec->trace_arg != NULL) {
|
||||
GET_VM()->trace_running--;
|
||||
}
|
||||
else if (sec->trace_arg == NULL && th->ec->trace_arg != NULL) {
|
||||
GET_VM()->trace_running++;
|
||||
else { /* sec->trace_arg == NULL */
|
||||
if (th->ec->trace_arg != NULL) {
|
||||
GET_VM()->trace_running++;
|
||||
}
|
||||
}
|
||||
th->ec->trace_arg = sec->trace_arg;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue