diff options
author | David Robillard <d@drobilla.net> | 2020-07-05 19:56:25 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-05 19:58:09 +0200 |
commit | 8d69b980429f7bf9202cb6f117b58f3fafd6c7a4 (patch) | |
tree | 619ff2d08bc4fc0122210f32775443babdb0d3d3 /src/n3.c | |
parent | 08d865231b4a19540b26714cb9d2425458beed84 (diff) | |
download | serd-8d69b980429f7bf9202cb6f117b58f3fafd6c7a4.tar.gz serd-8d69b980429f7bf9202cb6f117b58f3fafd6c7a4.tar.bz2 serd-8d69b980429f7bf9202cb6f117b58f3fafd6c7a4.zip |
Remove unreachable code
Diffstat (limited to 'src/n3.c')
-rw-r--r-- | src/n3.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1324,11 +1324,10 @@ read_directive(SerdReader* reader) switch (peek_byte(reader)) { case 'B': case 'b': return read_base(reader, sparql, true); case 'P': case 'p': return read_prefixID(reader, sparql, true); - default: - return r_err(reader, SERD_ERR_BAD_SYNTAX, "invalid directive\n"); + default: break; } - return true; + return r_err(reader, SERD_ERR_BAD_SYNTAX, "invalid directive\n"); } static bool |