Merge pull request #174 from tuncer/dialyzer-fixes

rebar_core: fix Dialyzer warning introduced in aa46d85 (#157)
This commit is contained in:
Jared Morrow 2013-12-03 13:10:05 -08:00
commit c02fcec92c

View file

@ -411,7 +411,7 @@ restore_code_path(no_change) ->
restore_code_path({added, Paths}) ->
%% Verify that all of the paths still exist -- some dynamically
%% added paths can get blown away during clean.
[code:del_path(F) || F <- Paths, erl_prim_loader_is_file(F)],
_ = [code:del_path(F) || F <- Paths, erl_prim_loader_is_file(F)],
ok.
erl_prim_loader_is_file(File) ->