mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
Merge pull request #199 from tuncer/dia-dialyzer-warnings
rebar_dia_compiler: fix Dialyzer warnings
This commit is contained in:
commit
e73098afea
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
|
case diameter_dict_util:parse({path, Source}, []) of
|
||||||
{ok, Spec} ->
|
{ok, Spec} ->
|
||||||
FileName = dia_filename(Source, Spec),
|
FileName = dia_filename(Source, Spec),
|
||||||
diameter_codegen:from_dict(FileName, Spec, Opts, erl),
|
_ = diameter_codegen:from_dict(FileName, Spec, Opts, erl),
|
||||||
diameter_codegen:from_dict(FileName, Spec, Opts, hrl),
|
_ = diameter_codegen:from_dict(FileName, Spec, Opts, hrl),
|
||||||
HrlFile = filename:join("src", FileName ++ ".hrl"),
|
HrlFile = filename:join("src", FileName ++ ".hrl"),
|
||||||
case filelib:is_regular(HrlFile) of
|
case filelib:is_regular(HrlFile) of
|
||||||
true ->
|
true ->
|
||||||
|
|
Loading…
Reference in a new issue