Avoid warning for Netscape.

This commit is contained in:
James Clark 1999-10-27 01:34:43 +00:00
parent 92e910d8be
commit 95e916b7a7

View file

@ -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;
}