rebar_core: fix Dialyzer warning introduced in aa46d85 (#157)

Project: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/commit/37310820
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/tree/37310820
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/diff/37310820

Branch: refs/heads/import
Commit: 37310820f7d1c74b8eab14760f0f8ee67734323d
Parents: 988c9cd
Author: Tuncer Ayaz <[email protected]>
Authored: Tue Nov 26 21:15:04 2013 +0100
Committer: Tuncer Ayaz <[email protected]>
Committed: Tue Nov 26 21:15:04 2013 +0100

----------------------------------------------------------------------
 src/rebar_core.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/37310820/src/rebar_core.erl
----------------------------------------------------------------------
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) ->

Reply via email to