diff options
author | Stavros Aronis <[email protected]> | 2012-03-22 10:18:57 +0100 |
---|---|---|
committer | Stavros Aronis <[email protected]> | 2012-03-26 23:46:03 +0200 |
commit | 154b98e876256310b3832334695094487da6ea3a (patch) | |
tree | 4cc678c0cf11c59cb2d5654142063c0a968aca6d | |
parent | e7b056ee49f2c3e8080e5424d87c0be27c9ebf7f (diff) | |
download | otp-154b98e876256310b3832334695094487da6ea3a.tar.gz otp-154b98e876256310b3832334695094487da6ea3a.tar.bz2 otp-154b98e876256310b3832334695094487da6ea3a.zip |
Report only actual unknown types otherwise no message is sent
-rw-r--r-- | lib/dialyzer/src/dialyzer_analysis_callgraph.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl index 5be870d78f..b6dbfdfacf 100644 --- a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl +++ b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl @@ -463,8 +463,10 @@ default_includes(Dir) -> rcv_and_send_ext_types(Parent) -> Self = self(), Self ! {Self, done}, - ExtTypes = rcv_ext_types(Self, []), - Parent ! {Self, ext_types, ExtTypes}, + case rcv_ext_types(Self, []) of + [] -> ok; + ExtTypes -> Parent ! {Self, ext_types, ExtTypes} + end, ok. rcv_ext_types(Self, ExtTypes) -> |