From 3cae9d83cddc696cc6f57b983af0acef92903372 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 3 Nov 2014 20:36:55 +0100 Subject: [PATCH] Fix Dialyzer warning introduced in 0caf047f --- src/rebar_proto_compiler.erl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/rebar_proto_compiler.erl b/src/rebar_proto_compiler.erl index c86dda2..61871bd 100644 --- a/src/rebar_proto_compiler.erl +++ b/src/rebar_proto_compiler.erl @@ -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() ->