mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0031841: Coding Rules, LDOM_XmlReader - eliminate new CLang compiler warning -Wtautological-overlap-compare
This commit is contained in:
parent
cdfcd39b69
commit
2958b91f62
@ -202,7 +202,7 @@ LDOM_XmlReader::RecordType LDOM_XmlReader::ReadRecord (Standard_IStream& theIStr
|
||||
(myPtr[3] == 43 || myPtr[3] == 47 || myPtr[3] == 56 || myPtr[3] == 57))
|
||||
{
|
||||
myBOM = LDOM_OSStream::BOM_UTF7;
|
||||
if (myPtr[3] == 56 && myPtr[3] == 45)
|
||||
if (myPtr[3] == 56 && myPtr[4] == 45)
|
||||
myPtr += 5;
|
||||
else
|
||||
myPtr += 4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user