aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-04-08 15:13:00 +0200
committerHans Bolinder <[email protected]>2015-04-27 08:30:45 +0200
commit4729cebdf61022cadb0a5a04ae30bace77a7b5db (patch)
treea68b0ac1ea4808c20970b24f37f20c70c33a87f4 /lib/dialyzer/src/dialyzer_analysis_callgraph.erl
parent39ce3a33b8d692608850d4bd3a0bf078359b3c91 (diff)
downloadotp-4729cebdf61022cadb0a5a04ae30bace77a7b5db.tar.gz
otp-4729cebdf61022cadb0a5a04ae30bace77a7b5db.tar.bz2
otp-4729cebdf61022cadb0a5a04ae30bace77a7b5db.zip
dialyzer: Add new option 'no_missing_calls'
Diffstat (limited to 'lib/dialyzer/src/dialyzer_analysis_callgraph.erl')
-rw-r--r--lib/dialyzer/src/dialyzer_analysis_callgraph.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
index 5ff7ad9c6f..dbfe680345 100644
--- a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
+++ b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
@@ -2,7 +2,7 @@
%%--------------------------------------------------------------------
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2006-2014. All Rights Reserved.
+%% Copyright Ericsson AB 2006-2015. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -586,7 +586,8 @@ send_codeserver_plt(Parent, CServer, Plt ) ->
send_bad_calls(Parent, BadCalls, CodeServer) ->
FormatedBadCalls = format_bad_calls(BadCalls, CodeServer, []),
- send_warnings(Parent, FormatedBadCalls).
+ Warnings = filter_warnings(FormatedBadCalls, CodeServer),
+ send_warnings(Parent, Warnings).
send_mod_deps(Parent, ModuleDeps) ->
Parent ! {self(), mod_deps, ModuleDeps},