MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #31841 All Revisions ] Back to Issue ]
Summary 0031841: Coding Rules, LDOM_XmlReader - eliminate new CLang compiler warning -Wtautological-overlap-compare
Revision 2020-10-12 17:33 by kgv
Description
src/LDOM/LDOM_XmlReader.cxx:205:30: warning: overlapping comparisons always evaluate to false [-Wtautological-overlap-compare]
          
if (myPtr[3] == 56 && myPtr[3] == 45)
              ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Revision 2020-10-12 17:20 by galbramc
Description src/LDOM/LDOM_XmlReader.cxx:205:30: warning: overlapping comparisons always evaluate to false [-Wtautological-overlap-compare]
          if (myPtr[3] == 56 && myPtr[3] == 45)
              ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker