aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-01-27 11:14:07 +0100
committerLukas Larsson <[email protected]>2011-01-27 11:14:07 +0100
commit976ce69a8ada40e6b2e4664fc48d5f430e4ea1f2 (patch)
tree265cfb2f536ba3faee6f210df7fd8ef9fd69a592 /lib/tools
parenta5bb09b0a8a6aac4e47c19b5abdbbb8f54e14133 (diff)
downloadotp-976ce69a8ada40e6b2e4664fc48d5f430e4ea1f2.tar.gz
otp-976ce69a8ada40e6b2e4664fc48d5f430e4ea1f2.tar.bz2
otp-976ce69a8ada40e6b2e4664fc48d5f430e4ea1f2.zip
Remove io printout warnings when exporting an imported module
Diffstat (limited to 'lib/tools')
-rw-r--r--lib/tools/src/cover.erl11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/tools/src/cover.erl b/lib/tools/src/cover.erl
index b8cb8e58cf..689a702d52 100644
--- a/lib/tools/src/cover.erl
+++ b/lib/tools/src/cover.erl
@@ -1034,14 +1034,15 @@ analyse_info(Module,Imported) ->
export_info(_Module,[]) ->
ok;
-export_info(Module,Imported) ->
- imported_info("Export",Module,Imported).
+export_info(_Module,_Imported) ->
+ %% Do not print that the export includes imported modules
+ ok.
export_info([]) ->
ok;
-export_info(Imported) ->
- AllImportFiles = get_all_importfiles(Imported,[]),
- io:format("Export includes data from imported files\n~p\n",[AllImportFiles]).
+export_info(_Imported) ->
+ %% Do not print that the export includes imported modules
+ ok.
get_all_importfiles([{_M,_F,ImportFiles}|Imported],Acc) ->
NewAcc = do_get_all_importfiles(ImportFiles,Acc),