aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src/xmerl_sax_parser.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-05-17 15:45:41 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-05-17 15:49:21 +0200
commit7153dd1f8baa77a6b2c2b29df56a2d0c41fa770b (patch)
tree1b91cdc0c95924f3223dc938e25ed42c1ac6b58c /lib/xmerl/src/xmerl_sax_parser.erl
parent0545c22c9c07c55569e067c57ec184f018a54947 (diff)
downloadotp-7153dd1f8baa77a6b2c2b29df56a2d0c41fa770b.tar.gz
otp-7153dd1f8baa77a6b2c2b29df56a2d0c41fa770b.tar.bz2
otp-7153dd1f8baa77a6b2c2b29df56a2d0c41fa770b.zip
xmerl: Fix unmatched return warnings
Diffstat (limited to 'lib/xmerl/src/xmerl_sax_parser.erl')
-rw-r--r--lib/xmerl/src/xmerl_sax_parser.erl12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/xmerl/src/xmerl_sax_parser.erl b/lib/xmerl/src/xmerl_sax_parser.erl
index 196baacda7..318a0cf7f4 100644
--- a/lib/xmerl/src/xmerl_sax_parser.erl
+++ b/lib/xmerl/src/xmerl_sax_parser.erl
@@ -32,17 +32,13 @@
%%----------------------------------------------------------------------
%% External exports
%%----------------------------------------------------------------------
--export([
- file/2,
- stream/2
- ]).
+-export([file/2,
+ stream/2]).
%%----------------------------------------------------------------------
%% Internal exports
%%----------------------------------------------------------------------
--export([
- default_continuation_cb/1
- ]).
+-export([default_continuation_cb/1]).
%%----------------------------------------------------------------------
%% Macros
@@ -81,7 +77,7 @@ file(Name,Options) ->
{current_location, CL},
{entity, File}
|Options]),
- file:close(FD),
+ ok = file:close(FD),
Res
end.