aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-04-15 18:26:00 -0400
committerDavid Robillard <d@drobilla.net>2021-05-16 13:01:28 -0400
commitf6d5bdd20a77190af6e269ba08a371395979065d (patch)
tree7539f6e94a2126cf1d8bf2d2ce756eb6508ee6a0 /src/n3.c
parent9a417d684750af2f812289c1439ca8e73fd7b3f2 (diff)
downloadserd-f6d5bdd20a77190af6e269ba08a371395979065d.tar.gz
serd-f6d5bdd20a77190af6e269ba08a371395979065d.tar.bz2
serd-f6d5bdd20a77190af6e269ba08a371395979065d.zip
Avoid else after break
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/n3.c b/src/n3.c
index 9e9d5327..a4a00702 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -773,10 +773,10 @@ read_IRIREF(SerdReader* reader, Ref* dest)
(unsigned)c);
if (reader->strict) {
break;
- } else {
- st = SERD_FAILURE;
- push_byte(reader, *dest, c);
}
+
+ st = SERD_FAILURE;
+ push_byte(reader, *dest, c);
} else if (!(c & 0x80)) {
push_byte(reader, *dest, c);
} else if (read_utf8_character(reader, *dest, (uint8_t)c)) {