From 37310820f7d1c74b8eab14760f0f8ee67734323d Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Tue, 26 Nov 2013 21:15:04 +0100 Subject: [PATCH] rebar_core: fix Dialyzer warning introduced in aa46d85 (#157) --- src/rebar_core.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_core.erl b/src/rebar_core.erl index 55778b7..631cef2 100644 --- a/src/rebar_core.erl +++ b/src/rebar_core.erl @@ -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) ->