summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Fish <james@fishcakez.com>2014-11-19 18:10:41 +0000
committerJames Fish <james@fishcakez.com>2014-11-20 16:05:02 +0000
commit03b07c3d396d577c3a6d635c339900ed4d8c391c (patch)
treed3cfdefa8387a51e7c17e08660f37cd39c56cb78
parentfb630d18ea98af6b91f263cdf8c14185454edf04 (diff)
Fix default dialyzer warnings
* Nolonger supress standard warnings * Nolonger include race_conditions by default[1] [1] http://erlang.org/pipermail/erlang-bugs/2014-July/004518.html
-rw-r--r--src/rebar_prv_dialyzer.erl10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl
index 20a58f3..75bc11e 100644
--- a/src/rebar_prv_dialyzer.erl
+++ b/src/rebar_prv_dialyzer.erl
@@ -95,14 +95,6 @@ update_dep_plt(_State, DepPlt, AppList) ->
dialyzer:run(Opts).
default_warnings() ->
- [no_return,
- no_unused,
- no_improper_lists,
- no_fun_app,
- no_match,
- no_opaque,
- no_fail_call,
- error_handling,
- race_conditions,
+ [error_handling,
unmatched_returns,
underspecs].