Browse Source

rebar_dia_compiler: fix Dialyzer warnings

pull/3/head
Tuncer Ayaz 11 years ago
parent
commit
031e7c5fc5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/rebar_dia_compiler.erl

+ 2
- 2
src/rebar_dia_compiler.erl 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 ->

Loading…
Cancel
Save