Fix Dialyzer warning introduced in 0caf047f

This commit is contained in:
Tuncer Ayaz 2014-11-03 20:36:55 +01:00
parent 26c5a6e872
commit 3cae9d83cd

View file

@ -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() ->