Permalink
Browse files

Removed unnecessary function clauses

  • Loading branch information...
1 parent d10f08b commit 1e6cf3f77d35b165fa30de467e045212c1567a80 @dmitriid committed Jun 5, 2009
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/rberl.erl
View
@@ -75,9 +75,6 @@ parse_line1(<<$\\, Rest/binary>>, Key, Value, Accum, HasSep, false = _PrecedingB
%% end of line, yet the value continues on the next line
-parse_line1(<<$\n, $\r, Rest/binary>>, Key, Value, Accum, HasSep, true = _PrecedingBackslash) ->
- NewAccum = append_value(Accum, Key,Value),
- parse_line1(Rest, Key, "", NewAccum, HasSep, false);
parse_line1(<<$\n, Rest/binary>>, Key, Value, Accum, HasSep, true = _PrecedingBackslash) ->
NewAccum = append_value(Accum, Key,Value),
parse_line1(Rest, Key, "", NewAccum, HasSep, false);
@@ -86,9 +83,6 @@ parse_line1(<<$\r, Rest/binary>>, Key, Value, Accum, HasSep, true = _PrecedingBa
parse_line1(Rest, Key, "", NewAccum, HasSep, false);
%% end of line, yet the value doesn't continue on the next line
-parse_line1(<<$\n, $\r, _Rest/binary>>, Key, Value, Accum, HasSep, false = _PrecedingBackslash) ->
- NewAccum = append_value(Accum, Key,Value),
- {"", "", NewAccum, HasSep, false};
parse_line1(<<$\n, _Rest/binary>>, Key, Value, Accum, HasSep, false = _PrecedingBackslash) ->
NewAccum = append_value(Accum, Key,Value),
{"", "", NewAccum, HasSep, false};

0 comments on commit 1e6cf3f

Please sign in to comment.