aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2012-01-25 15:44:30 +0100
committerStavros Aronis <[email protected]>2012-02-22 14:13:19 +0100
commitff5c8bf413cbfda1b7c9a43c948559d31bfcc4d4 (patch)
treeb10370548cf646bfd0dfb84be39dfb7b2dcd8518 /lib/dialyzer/src/dialyzer_analysis_callgraph.erl
parentbda48b93fc15a718a3bec1f0c8e628d67f486c40 (diff)
downloadotp-ff5c8bf413cbfda1b7c9a43c948559d31bfcc4d4.tar.gz
otp-ff5c8bf413cbfda1b7c9a43c948559d31bfcc4d4.tar.bz2
otp-ff5c8bf413cbfda1b7c9a43c948559d31bfcc4d4.zip
Remove redundant code
Diffstat (limited to 'lib/dialyzer/src/dialyzer_analysis_callgraph.erl')
-rw-r--r--lib/dialyzer/src/dialyzer_analysis_callgraph.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
index 15e642e307..fff8d14630 100644
--- a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
+++ b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
@@ -170,10 +170,9 @@ analysis_start(Parent, Analysis) ->
rcv_and_send_ext_types(Parent),
NonExports = sets:subtract(sets:from_list(AllNodes), Exports),
NonExportsList = sets:to_list(NonExports),
- Plt3 = dialyzer_plt:delete_list(State3#analysis_state.plt, NonExportsList),
- Plt4 = dialyzer_plt:delete_contract_list(Plt3, NonExportsList),
+ Plt2 = dialyzer_plt:delete_list(State3#analysis_state.plt, NonExportsList),
send_codeserver_plt(Parent, CServer, State3#analysis_state.plt),
- send_analysis_done(Parent, Plt4, State3#analysis_state.doc_plt).
+ send_analysis_done(Parent, Plt2, State3#analysis_state.doc_plt).
analyze_callgraph(Callgraph, State) ->
Codeserver = State#analysis_state.codeserver,