rebar_dia_compiler: fix Dialyzer warnings

This commit is contained in:
Tuncer Ayaz 2013-12-14 16:31:00 +01:00
parent fbc51c0a8c
commit 031e7c5fc5

View file

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