mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-11 05:49:31 -06:00
fix a warning in utf8.c
This commit is contained in:
@@ -146,7 +146,6 @@ gu_in_utf8_buf(uint8_t** buf, GuIn* in, GuExn* err)
|
||||
*buf = p;
|
||||
return;
|
||||
}
|
||||
static const uint8_t mask[4] = { 0x7f, 0x1f, 0x0f, 0x07 };
|
||||
// If reading the extra bytes causes EOF, it is an encoding
|
||||
// error, not a legitimate end of character stream.
|
||||
GuExn* tmp_err = gu_exn(err, GuEOF, NULL);
|
||||
|
||||
Reference in New Issue
Block a user