Skip to content

Commit

Permalink
Fix setting removed flag only when passed in
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Phoenix committed May 8, 2010
1 parent 673aa09 commit 074d233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/builtin/compactlookuptable.cpp
Expand Up @@ -49,7 +49,7 @@ namespace rubinius {

put(state, i, Qnil);
put(state, i + 1, Qnil);
*removed = true;
if(removed) *removed = true;
return val;
}
}
Expand Down

0 comments on commit 074d233

Please sign in to comment.