aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-22 01:27:17 +0000
committerDavid Robillard <d@drobilla.net>2011-01-22 01:27:17 +0000
commitf022298e8005ab10227d23e1773804ac49064b55 (patch)
treea97afbbd116ec5b7c559e3a41ef44a9026a83975 /src/reader.c
parent87e4ef197ee3259a75c68bd3054c2cf0cbaa9f0f (diff)
downloadserd-f022298e8005ab10227d23e1773804ac49064b55.tar.gz
serd-f022298e8005ab10227d23e1773804ac49064b55.tar.bz2
serd-f022298e8005ab10227d23e1773804ac49064b55.zip
Remove unnecessary case.
git-svn-id: http://svn.drobilla.net/serd/trunk@30 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c
index a769fe55..93f6dd48 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -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;
}