aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src/xmerl_scan.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_scan.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_scan.erl')
-rw-r--r--lib/xmerl/src/xmerl_scan.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmerl/src/xmerl_scan.erl b/lib/xmerl/src/xmerl_scan.erl
index ea487a0900..2147a46a13 100644
--- a/lib/xmerl/src/xmerl_scan.erl
+++ b/lib/xmerl/src/xmerl_scan.erl
@@ -605,7 +605,7 @@ scan_document(Str0, S=#xmerl_scanner{event_fun = Event,
schema ->
case schemaLocations(Res, S5) of
{ok, Schemas} ->
- cleanup(S5),
+ _ = cleanup(S5),
%%?dbg("Schemas: ~p~nRes: ~p~ninhertih_options(S): ~p~n",
%% [Schemas,Res,inherit_options(S5)]),
XSDRes = xmerl_xsd:process_validate(Schemas, Res,