Browse Source

Remove unnecessary case.

git-svn-id: http://svn.drobilla.net/serd/trunk@30 490d8e77-9747-427b-9fa3-0b8f29cee8a0
zrythm_meson
David Robillard 12 years ago
parent
commit
f022298e80
  1. 1
      src/reader.c

1
src/reader.c

@ -159,7 +159,6 @@ eat_byte(SerdReader parser, const uint8_t byte) @@ -159,7 +159,6 @@ eat_byte(SerdReader parser, const uint8_t byte)
const uint8_t c = peek_byte(parser);
++parser->read_head;
switch (c) {
case '\0': return error(parser, "unexpected end of file\n");
case '\n': ++parser->cur.line; parser->cur.col = 0; break;
default: ++parser->cur.col;
}

Loading…
Cancel
Save