DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7301>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7301

Redundant range-check in HexBin.cpp

           Summary: Redundant range-check in HexBin.cpp
           Product: Xerces-C++
           Version: 1.7.0
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


"
src/xercesc/util/HexBin.cpp: In function `static bool HexBin::isHex(const XMLCh 
&)':

src/xercesc/util/HexBin.cpp:118: warning: comparison is always false due to 
limited range of data type
"

Since XMLCh is not defined as signed for any of the supported compilers, the 
range check for <0 on line 118 generates compiler warnings. Attached is a 
trivial fix.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to