aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src
diff options
context:
space:
mode:
authorJimmy Zöger <[email protected]>2017-03-08 14:11:53 +0100
committerJimmy Zöger <[email protected]>2017-03-08 14:11:53 +0100
commitca34a6c16a146cb5780a9c28cb5614e2e846d318 (patch)
treeb1b519a77a5a91d25752ce57b8f1137d6d68b6a2 /lib/xmerl/src
parent6ed06cfeccfa97fcb98c61e6225ffdc7d79dfd14 (diff)
downloadotp-ca34a6c16a146cb5780a9c28cb5614e2e846d318.tar.gz
otp-ca34a6c16a146cb5780a9c28cb5614e2e846d318.tar.bz2
otp-ca34a6c16a146cb5780a9c28cb5614e2e846d318.zip
Removes redundant function clause
Diffstat (limited to 'lib/xmerl/src')
-rw-r--r--lib/xmerl/src/xmerl_scan.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/xmerl/src/xmerl_scan.erl b/lib/xmerl/src/xmerl_scan.erl
index 95dc82e5c9..4eacb9fc4d 100644
--- a/lib/xmerl/src/xmerl_scan.erl
+++ b/lib/xmerl/src/xmerl_scan.erl
@@ -474,8 +474,6 @@ event(_X, S) ->
%% into multiple objects (in which case {Acc',Pos',S'} should be returned.)
%% If {Acc',S'} is returned, Pos will be incremented by 1 by default.
%% Below is an example of an acceptable operation
-acc(X = #xmlText{value = Text}, Acc, S) ->
- {[X#xmlText{value = Text}|Acc], S};
acc(X, Acc, S) ->
{[X|Acc], S}.