diff options
author | Patrik Nyblom <[email protected]> | 2010-12-20 14:55:23 +0100 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2010-12-20 14:55:23 +0100 |
commit | 8f15f156e539aaa6d69acc28d527ef6da94d40d3 (patch) | |
tree | b3d4fa1a337a09b7b6e567d61b7e0bf74c7d3dd2 /lib/stdlib/src/escript.erl | |
parent | 69486d5b01b3281ea1c9ca168b2658c1159a82ce (diff) | |
download | otp-8f15f156e539aaa6d69acc28d527ef6da94d40d3.tar.gz otp-8f15f156e539aaa6d69acc28d527ef6da94d40d3.tar.bz2 otp-8f15f156e539aaa6d69acc28d527ef6da94d40d3.zip |
Removed dead code
Diffstat (limited to 'lib/stdlib/src/escript.erl')
-rw-r--r-- | lib/stdlib/src/escript.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/stdlib/src/escript.erl b/lib/stdlib/src/escript.erl index 99e454f593..7cb02afb11 100644 --- a/lib/stdlib/src/escript.erl +++ b/lib/stdlib/src/escript.erl @@ -570,9 +570,7 @@ parse_beam(S, File, HeaderSz, CheckOnly) -> forms_or_bin = Bin} end; {error, beam_lib, Reason} when is_tuple(Reason) -> - fatal(element(1, Reason)); - {error, beam_lib, Reason} -> - fatal(Reason) + fatal(element(1, Reason)) end. parse_source(S, File, Fd, StartLine, HeaderSz, CheckOnly) -> |