mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-06 05:34:59 +00:00
Avoid warning for Netscape.
This commit is contained in:
parent
92e910d8be
commit
95e916b7a7
1 changed files with 1 additions and 2 deletions
|
@ -2023,8 +2023,7 @@ initializeEncoding(XML_Parser parser)
|
|||
int i;
|
||||
for (i = 0; protocolEncodingName[i]; i++) {
|
||||
if (i == sizeof(encodingBuf) - 1
|
||||
|| protocolEncodingName[i] >= 0x80
|
||||
|| protocolEncodingName[i] < 0) {
|
||||
|| (protocolEncodingName[i] & ~0x7f) != 0) {
|
||||
encodingBuf[0] = '\0';
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue