rebar_utils: fix Dialyzer warning
Project: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/commit/903c89dc Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/tree/903c89dc Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/diff/903c89dc Branch: refs/heads/master Commit: 903c89dc9c5b0c7171003f11b8ac134db9736f3a Parents: b36e72b Author: Tuncer Ayaz <[email protected]> Authored: Sun Aug 20 18:48:08 2017 +0000 Committer: Tuncer Ayaz <[email protected]> Committed: Tue Jan 30 23:41:57 2018 +0000 ---------------------------------------------------------------------- src/rebar_utils.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/903c89dc/src/rebar_utils.erl ---------------------------------------------------------------------- diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index a5cc0ff..6a62d34 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -296,7 +296,7 @@ vcs_vsn(Config, Vsn, Dir) -> VsnString = vcs_vsn_1(Vsn, Dir), Cache1 = dict:store(Key, VsnString, Cache), Config1 = rebar_config:set_xconf(Config, vsn_cache, Cache1), - save_vsn_cache(Config1), + _ = save_vsn_cache(Config1), {Config1, VsnString}; {ok, VsnString} -> {Config, VsnString}
