mirror of
https://github.com/correl/rebar.git
synced 2024-11-14 19:19:30 +00:00
rebar_dia_compiler: fix Dialyzer warnings
This commit is contained in:
parent
fbc51c0a8c
commit
031e7c5fc5
1 changed files with 2 additions and 2 deletions
|
@ -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 ->
|
||||
|
|
Loading…
Reference in a new issue