diff options
author | Stavros Aronis <[email protected]> | 2012-01-25 15:44:30 +0100 |
---|---|---|
committer | Stavros Aronis <[email protected]> | 2012-02-22 14:13:19 +0100 |
commit | ff5c8bf413cbfda1b7c9a43c948559d31bfcc4d4 (patch) | |
tree | b10370548cf646bfd0dfb84be39dfb7b2dcd8518 /lib/dialyzer/src/dialyzer_analysis_callgraph.erl | |
parent | bda48b93fc15a718a3bec1f0c8e628d67f486c40 (diff) | |
download | otp-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.erl | 5 |
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, |