aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer_behaviours.erl
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2012-03-05 10:38:01 +0100
committerHenrik Nord <[email protected]>2012-05-21 15:31:21 +0200
commit49ccc5df4f2f64ff19dd5751523c8ba45adaf658 (patch)
tree4215ac243515cee7fb2e66318784a9eb81a1b43a /lib/dialyzer/src/dialyzer_behaviours.erl
parentec142ae5c0696bb7893a67ff6356c7da3369a7fc (diff)
downloadotp-49ccc5df4f2f64ff19dd5751523c8ba45adaf658.tar.gz
otp-49ccc5df4f2f64ff19dd5751523c8ba45adaf658.tar.bz2
otp-49ccc5df4f2f64ff19dd5751523c8ba45adaf658.zip
Better reflect side-effect based code in dialyzer_callgraph
Diffstat (limited to 'lib/dialyzer/src/dialyzer_behaviours.erl')
-rw-r--r--lib/dialyzer/src/dialyzer_behaviours.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dialyzer/src/dialyzer_behaviours.erl b/lib/dialyzer/src/dialyzer_behaviours.erl
index d40caae8b4..b84071b95c 100644
--- a/lib/dialyzer/src/dialyzer_behaviours.erl
+++ b/lib/dialyzer/src/dialyzer_behaviours.erl
@@ -280,8 +280,8 @@ translate_callgraph([{Behaviour,_}|Behaviours], Module, Callgraph) ->
DirectCalls = [{From, {Module, Fun, Arity}} ||
{From, To} <- UsedCalls,{API, {Fun, Arity, _Ord}} <- Calls,
To =:= API],
- NewCallgraph = dialyzer_callgraph:add_edges(DirectCalls, Callgraph),
- translate_callgraph(Behaviours, Module, NewCallgraph);
+ dialyzer_callgraph:add_edges(DirectCalls, Callgraph),
+ translate_callgraph(Behaviours, Module, Callgraph);
translate_callgraph([], _Module, Callgraph) ->
Callgraph.