Open AppChecker opened 7 years ago
Hi!
These expressions: 1) src-IL/src/il_states.cpp if (Param >= 0 || Param <= 2) { 2) src-IL/src/il_states.cpp if (Param >= -1 || Param <= 255) { 3) src-IL/src/il_states.cpp#
if (Param >= 0 || Param <= 2) {
if (Param >= -1 || Param <= 255) {
#define IL_DXT1 0x0706 #define IL_DXT5 0x070A if (Param >= IL_DXT1 || Param <= IL_DXT5 ...) {
is always true (for any value of Param variable).
These possible defects found by AppChecker
Hi!
These expressions: 1) src-IL/src/il_states.cpp
if (Param >= 0 || Param <= 2) {
2) src-IL/src/il_states.cppif (Param >= -1 || Param <= 255) {
3) src-IL/src/il_states.cpp#is always true (for any value of Param variable).
These possible defects found by AppChecker