summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Morrow <jared@basho.com>2013-12-17 05:50:14 -0800
committerJared Morrow <jared@basho.com>2013-12-17 05:50:14 -0800
commite73098afea02befb0cb4b84025358ab9099fbef9 (patch)
tree3b752121ab945572a422932e8f8ea5b57ea437cc
parentfbc51c0a8c9b1ceca807b7a5a60e8503bc47b308 (diff)
parent031e7c5fc51388897cd8a2b1e7f7fe387e03be31 (diff)
Merge pull request #199 from tuncer/dia-dialyzer-warnings
rebar_dia_compiler: fix Dialyzer warnings
-rw-r--r--src/rebar_dia_compiler.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_dia_compiler.erl b/src/rebar_dia_compiler.erl
index f81c734..ba9d159 100644
--- a/src/rebar_dia_compiler.erl
+++ b/src/rebar_dia_compiler.erl
@@ -75,8 +75,8 @@ compile_dia(Source, Target, Config) ->
case diameter_dict_util:parse({path, Source}, []) of
{ok, Spec} ->
FileName = dia_filename(Source, Spec),
- diameter_codegen:from_dict(FileName, Spec, Opts, erl),
- diameter_codegen:from_dict(FileName, Spec, Opts, hrl),
+ _ = diameter_codegen:from_dict(FileName, Spec, Opts, erl),
+ _ = diameter_codegen:from_dict(FileName, Spec, Opts, hrl),
HrlFile = filename:join("src", FileName ++ ".hrl"),
case filelib:is_regular(HrlFile) of
true ->