From 851c602b2058ac71b6d9bf1d55f93cb9739b4f33 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Fri, 1 Oct 2010 14:26:38 +0200 Subject: Remove never matching clause --- src/rebar_dialyzer.erl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/rebar_dialyzer.erl b/src/rebar_dialyzer.erl index 0604b4e..de78a05 100644 --- a/src/rebar_dialyzer.erl +++ b/src/rebar_dialyzer.erl @@ -75,9 +75,7 @@ analyze(Config, File) -> {error, read_error} -> ?ABORT("Unable to read PLT ~n~n", [Plt]); {error, not_valid} -> - ?ABORT("The PLT ~s is not valid.~n", [Plt]); - {error, _Reason} -> - ?ABORT("Unable to determine the validity of the PLT ~s~n", [Plt]) + ?ABORT("The PLT ~s is not valid.~n", [Plt]) end, ok. -- cgit v1.1