Cleared Coverity finding CID 170382 (CONSTANT_EXPRESSION_RESULT) (Issue 298)
parent
b4f08a3fa1
commit
9b27d6b83f
2
idea.cpp
2
idea.cpp
|
|
@ -17,8 +17,6 @@ CRYPTOPP_COMPILE_ASSERT(sizeof(IDEA::Word) >= 2);
|
||||||
// should use an inline function but macros are still faster in MSVC 4.0
|
// should use an inline function but macros are still faster in MSVC 4.0
|
||||||
#define DirectMUL(a,b) \
|
#define DirectMUL(a,b) \
|
||||||
{ \
|
{ \
|
||||||
CRYPTOPP_ASSERT(b <= 0xffff); \
|
|
||||||
\
|
|
||||||
word32 p=(word32)low16(a)*b; \
|
word32 p=(word32)low16(a)*b; \
|
||||||
\
|
\
|
||||||
if (p) \
|
if (p) \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue