Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#63 Описка в коде

closed-fixed
None
5
2012-06-30
2011-03-06
Anonymous
No

Случайно наткнулся в коде windjview-1.0.3:

PVS-Stuido V560:
A part of conditional expression is always true: 0xA. WinDjView xmlparser.cpp 45

inline bool IsValidChar(int c)
{
return c == 0x9 || 0xA || c == 0xD || c >= 0x20 && c <= 0xD7FF
|| c >= 0xE000 && c <= 0xFFFD || c >= 0x10000 && c <= 0x10FFFF;
}

Discussion

    • assigned_to: nobody --> zhezherun
    • status: open --> closed-fixed
     
  • Fixed in version 2.0