#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

  • Andrew Zhezherun

    • assigned_to: nobody --> zhezherun
    • status: open --> closed-fixed
     
  • Andrew Zhezherun

    Fixed in version 2.0

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks