aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/src/tags.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-05-13 14:12:40 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-05-13 14:12:40 +0200
commit66da26c92043c71740ea628469ad6ada747b89bf (patch)
treeb1cb97d1ef0c3278377ef9c42df024c2f79c51fd /lib/tools/src/tags.erl
parentbab87d0bf1dc89953caec354648c6c8db8737e92 (diff)
parent3e0c7b96e0fd50f0cd913eef30065764f75ae8e3 (diff)
downloadotp-66da26c92043c71740ea628469ad6ada747b89bf.tar.gz
otp-66da26c92043c71740ea628469ad6ada747b89bf.tar.bz2
otp-66da26c92043c71740ea628469ad6ada747b89bf.zip
Merge branch 'egil/tools/fix-unmatched_return/OTP-13595'
* egil/tools/fix-unmatched_return/OTP-13595: xref: Fix unmatched return warnings tags: Fix unmatched return warnings lcnt: Fix unmatched return warnings fprof: Fix unmatched return warnings fprof: Fix unmatched return warnings eprof: Fix unmatched return warnings cover: Fix unmatched return warnings
Diffstat (limited to 'lib/tools/src/tags.erl')
-rw-r--r--lib/tools/src/tags.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tools/src/tags.erl b/lib/tools/src/tags.erl
index 2bc1865503..b833d96c19 100644
--- a/lib/tools/src/tags.erl
+++ b/lib/tools/src/tags.erl
@@ -101,7 +101,7 @@ files(Files, Options) ->
case open_out(Options) of
{ok, Os} ->
files_loop(Files, Os),
- close_out(Os),
+ ok = close_out(Os),
ok;
_ ->
error
@@ -169,7 +169,7 @@ filename(Name, Os) ->
case file:open(Name, [read]) of
{ok, Desc} ->
Acc = module(Desc, [], [], {1, 0}),
- file:close(Desc),
+ ok = file:close(Desc),
genout(Os, Name, Acc),
ok;
_ ->