Skip to content

Commit

Permalink
No need to handle a null frame in ReadOwnFrameNode
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Jun 10, 2021
1 parent 6fbb9ee commit 796df16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
public class ReadOwnFrameNode extends RubyBaseNode implements FrameOrVariablesReadingNode {

public Object execute(Frame frame) {
return frame != null ? frame.materialize() : null;
return frame.materialize();
}

@Override
Expand Down

0 comments on commit 796df16

Please sign in to comment.