aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-11-24 16:08:40 -0500
committerDavid Robillard <d@drobilla.net>2022-11-24 16:08:40 -0500
commit08d720138d1db1d1d718a0ee746d7fc44dab361d (patch)
tree1b2db350a2d83ae5cd33e66d1007d7f5b098bb40 /src/n3.c
parent2a529fc48c6889570ae74a29953c554968daa021 (diff)
downloadserd-08d720138d1db1d1d718a0ee746d7fc44dab361d.tar.gz
serd-08d720138d1db1d1d718a0ee746d7fc44dab361d.tar.bz2
serd-08d720138d1db1d1d718a0ee746d7fc44dab361d.zip
Avoid redundant comparison
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c2
1 files changed, 1 insertions, 1 deletions
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;
}