Skip to content

Commit

Permalink
Avoid unreachable assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ansalond committed May 12, 2021
1 parent c132381 commit 0926ea8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,7 @@ public StaticObject copy() {
// of generated subtypes.
obj = (StaticObject) clone();
} catch (CloneNotSupportedException e) {
EspressoError.shouldNotReachHere(e);
obj = null;
throw EspressoError.shouldNotReachHere(e);
}
}
return trackAllocation(getKlass(), obj);
Expand Down

0 comments on commit 0926ea8

Please sign in to comment.