aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-05-10 19:38:29 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-05-10 19:52:13 +0200
commit116afe8f0e6d5638760c08597f38820d397cc534 (patch)
tree0e76ba880b6734bc93099967d4bb57e4451dec1f
parent06b4ea896952c714ab5c80f098a512b7d4acffc5 (diff)
downloadotp-116afe8f0e6d5638760c08597f38820d397cc534.tar.gz
otp-116afe8f0e6d5638760c08597f38820d397cc534.tar.bz2
otp-116afe8f0e6d5638760c08597f38820d397cc534.zip
tags: Fix unmatched return warnings
-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;
_ ->