aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/misc/snmp_log.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-05-11 10:55:10 +0200
committerMicael Karlberg <[email protected]>2011-05-11 10:55:10 +0200
commitb841f4fd4d6693ad91621c92839c2b36d7de472a (patch)
tree7e1e9ca3a2bdccdcf7be548e1132589b74a25968 /lib/snmp/src/misc/snmp_log.erl
parentf69b7bf3bd75a7c328e8ad11ce3c2fee0d9a42ef (diff)
downloadotp-b841f4fd4d6693ad91621c92839c2b36d7de472a.tar.gz
otp-b841f4fd4d6693ad91621c92839c2b36d7de472a.tar.bz2
otp-b841f4fd4d6693ad91621c92839c2b36d7de472a.zip
Dialyzer cleanup (removed unused function clauses).
Diffstat (limited to 'lib/snmp/src/misc/snmp_log.erl')
-rw-r--r--lib/snmp/src/misc/snmp_log.erl5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/snmp/src/misc/snmp_log.erl b/lib/snmp/src/misc/snmp_log.erl
index f9aa911817..7930e37c66 100644
--- a/lib/snmp/src/misc/snmp_log.erl
+++ b/lib/snmp/src/misc/snmp_log.erl
@@ -266,9 +266,6 @@ validate_loop(eof, _Log, _Validatior, _PrevTS, _PrevSN) ->
ok;
validate_loop({error, _} = Error, _Log, _Validator, _PrevTS, _PrevSN) ->
Error;
-validate_loop({corrupt_log_file, _} = Reason,
- _Log, _Validator, _PrevTS, _PrevSN) ->
- {error, Reason};
validate_loop({Cont, Terms}, Log, Validator, PrevTS, PrevSN) ->
?vtrace("validate_loop -> entry with"
"~n Terms: ~p"
@@ -508,8 +505,6 @@ loop(eof, _Log, _Write) ->
ok;
loop({error, _} = Error, _Log, _Write) ->
Error;
-loop({corrupt_log_file, _} = Reason, _Log, _Write) ->
- {error, Reason};
loop({Cont, Terms}, Log, Write) ->
case (catch lists:foreach(Write, Terms)) of
{'EXIT', Reason} ->