diff options
author | David Robillard <d@drobilla.net> | 2019-01-11 19:41:46 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-20 10:26:55 -0500 |
commit | eb03002ae2d3692a3591e2fa0f54ec910fdfb23a (patch) | |
tree | 0b48fe2817a6a364655257913177946760db9a04 | |
parent | 6644fef8c9f1fe9ccfbc049fe9f4a5e26448d7fd (diff) | |
download | serd-eb03002ae2d3692a3591e2fa0f54ec910fdfb23a.tar.gz serd-eb03002ae2d3692a3591e2fa0f54ec910fdfb23a.tar.bz2 serd-eb03002ae2d3692a3591e2fa0f54ec910fdfb23a.zip |
Remove pointless switch statement
-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 47bd1520..ba8bec4e 100644 --- a/src/reader.c +++ b/src/reader.c @@ -143,9 +143,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 |