aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2011-11-30 11:08:03 +0100
committerStavros Aronis <[email protected]>2011-12-01 11:55:10 +0100
commited1b0523597b3309b72ae96234a06c9f6ad5b67e (patch)
tree20bac90c65d7bb8ac87f16e60c342d4ec3fcfce7 /lib
parent572bc406bc95d7ac84e28f3f97cbb037bb8f06e3 (diff)
downloadotp-ed1b0523597b3309b72ae96234a06c9f6ad5b67e.tar.gz
otp-ed1b0523597b3309b72ae96234a06c9f6ad5b67e.tar.bz2
otp-ed1b0523597b3309b72ae96234a06c9f6ad5b67e.zip
Fix Dialyzer's warnings in typer
Diffstat (limited to 'lib')
-rw-r--r--lib/typer/src/typer.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/typer/src/typer.erl b/lib/typer/src/typer.erl
index fd39b55dd4..6392f5765f 100644
--- a/lib/typer/src/typer.erl
+++ b/lib/typer/src/typer.erl
@@ -682,10 +682,10 @@ analyze_result(show_succ, Args, Analysis) ->
analyze_result(no_spec, Args, Analysis) ->
{Args, Analysis#analysis{no_spec = true}};
analyze_result({pa, Dir}, Args, Analysis) ->
- code:add_patha(Dir),
+ true = code:add_patha(Dir),
{Args, Analysis};
analyze_result({pz, Dir}, Args, Analysis) ->
- code:add_pathz(Dir),
+ true = code:add_pathz(Dir),
{Args, Analysis}.
%%--------------------------------------------------------------------