diff options
author | David Robillard <d@drobilla.net> | 2020-07-05 19:57:04 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-05 19:58:09 +0200 |
commit | deb20148f2f92ec6b4b0c1f2210fef0040f749f2 (patch) | |
tree | b7b89019e4ec9026a38e1ab68d9586a6204c7b8a | |
parent | 8d69b980429f7bf9202cb6f117b58f3fafd6c7a4 (diff) | |
download | serd-deb20148f2f92ec6b4b0c1f2210fef0040f749f2.tar.gz serd-deb20148f2f92ec6b4b0c1f2210fef0040f749f2.tar.bz2 serd-deb20148f2f92ec6b4b0c1f2210fef0040f749f2.zip |
Remove redundant 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 aec37bea..70576b7a 100644 --- a/src/reader.c +++ b/src/reader.c @@ -151,9 +151,7 @@ emit_statement(SerdReader* reader, ReadContext ctx, Ref o, Ref d, Ref l) static bool read_statement(SerdReader* reader) { - switch (reader->syntax) { - default: return read_n3_statement(reader); - } + return read_n3_statement(reader); } static bool |