diff options
author | David Robillard <d@drobilla.net> | 2022-11-24 16:08:40 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-11-24 16:08:40 -0500 |
commit | 08d720138d1db1d1d718a0ee746d7fc44dab361d (patch) | |
tree | 1b2db350a2d83ae5cd33e66d1007d7f5b098bb40 | |
parent | 2a529fc48c6889570ae74a29953c554968daa021 (diff) | |
download | serd-08d720138d1db1d1d718a0ee746d7fc44dab361d.tar.gz serd-08d720138d1db1d1d718a0ee746d7fc44dab361d.tar.bz2 serd-08d720138d1db1d1d718a0ee746d7fc44dab361d.zip |
Avoid redundant comparison
-rw-r--r-- | src/n3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |