From f6d5bdd20a77190af6e269ba08a371395979065d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 15 Apr 2021 18:26:00 -0400 Subject: Avoid else after break --- src/n3.c | 6 +++--- 1 file 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)) { -- cgit v1.2.1