aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)) {