Skip to content

Commit

Permalink
Merge pull request basho#385 from tuncer/dialyzer-warning
Browse files Browse the repository at this point in the history
Fix Dialyzer warning introduced in 0caf047
  • Loading branch information
ferd committed Nov 3, 2014
2 parents 26c5a6e + 3cae9d8 commit 6e6b0fd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/rebar_proto_compiler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ info_help(GeneralDescr, Cmd) ->
++ "~s~n",
[GeneralDescr, format_proto_compiler_list()]),
%% Print info for each proto compiler
[begin
?CONSOLE("--- ~p ---~n", [Key]),
CompilerModule:proto_info(help, Cmd)
end
|| #proto_compiler{key=Key,
module=CompilerModule} <- find_proto_compilers()],
_ = [begin
?CONSOLE("--- ~p ---~n", [Key]),
CompilerModule:proto_info(help, Cmd)
end
|| #proto_compiler{key=Key,
module=CompilerModule} <- find_proto_compilers()],
ok.

get_default_compiler() ->
Expand Down

0 comments on commit 6e6b0fd

Please sign in to comment.