diff options
author | David Robillard <d@drobilla.net> | 2019-01-11 19:41:46 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:48:23 +0200 |
commit | c253b08dd86107c70434f53aebd8777b7e525ef9 (patch) | |
tree | 1d5d9800e52701218547baf87308b5f6134d364d /src | |
parent | 5d0befa7dd144fc242a96c8bfa4f9233306f2c21 (diff) | |
download | serd-c253b08dd86107c70434f53aebd8777b7e525ef9.tar.gz serd-c253b08dd86107c70434f53aebd8777b7e525ef9.tar.bz2 serd-c253b08dd86107c70434f53aebd8777b7e525ef9.zip |
Remove pointless switch statement
Diffstat (limited to 'src')
-rw-r--r-- | src/reader.c | 4 |
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 |