aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/escript.erl
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-12-21 14:59:37 +0100
committerPatrik Nyblom <[email protected]>2010-12-21 14:59:45 +0100
commit1f6da3e44fac8e573266b9b32ecf24855d3ac124 (patch)
tree8780be20e5895a705cd14064abb83bf9af71571b /lib/stdlib/src/escript.erl
parentea42e018f6495b3443fa97c8239f3d1831e3cebf (diff)
parent8f15f156e539aaa6d69acc28d527ef6da94d40d3 (diff)
downloadotp-1f6da3e44fac8e573266b9b32ecf24855d3ac124.tar.gz
otp-1f6da3e44fac8e573266b9b32ecf24855d3ac124.tar.bz2
otp-1f6da3e44fac8e573266b9b32ecf24855d3ac124.zip
Merge branch 'pan/r14b01-dialyzer-type-corrections' into dev
* pan/r14b01-dialyzer-type-corrections: Removed dead code Remove dead code (and dialyzer errors) from filename and re Set types correctly for open_port({spawn_executable, ... OTP-9008
Diffstat (limited to 'lib/stdlib/src/escript.erl')
-rw-r--r--lib/stdlib/src/escript.erl4
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) ->