aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-01-11 19:41:46 +0100
committerDavid Robillard <d@drobilla.net>2019-04-13 19:48:23 +0200
commitc253b08dd86107c70434f53aebd8777b7e525ef9 (patch)
tree1d5d9800e52701218547baf87308b5f6134d364d
parent5d0befa7dd144fc242a96c8bfa4f9233306f2c21 (diff)
downloadserd-c253b08dd86107c70434f53aebd8777b7e525ef9.tar.gz
serd-c253b08dd86107c70434f53aebd8777b7e525ef9.tar.bz2
serd-c253b08dd86107c70434f53aebd8777b7e525ef9.zip
Remove pointless switch statement
-rw-r--r--src/reader.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/reader.c b/src/reader.c
index c685060d..5f085fe3 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -140,9 +140,7 @@ emit_statement(SerdReader* reader, ReadContext ctx, SerdNode* o)
static SerdStatus
read_statement(SerdReader* reader)
{
- switch (reader->syntax) {
- default: return read_n3_statement(reader);
- }
+ return read_n3_statement(reader);
}
SerdStatus