From 08d720138d1db1d1d718a0ee746d7fc44dab361d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 24 Nov 2022 16:08:40 -0500 Subject: Avoid redundant comparison --- src/n3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/n3.c b/src/n3.c index f1d04206..f3112be0 100644 --- a/src/n3.c +++ b/src/n3.c @@ -403,7 +403,7 @@ read_STRING_LITERAL(SerdReader* const reader, break; default: if (c == q) { - eat_byte_check(reader, q); + eat_byte_safe(reader, c); return SERD_SUCCESS; } -- cgit v1.2.1