Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- uint AltOp::fixedLength()
- {
- uint l1 = exp1->fixedLength();
- uint l2 = exp1->fixedLength();
- if (l1 != l2 || l1 == ~0u)
- return ~0;
- return l1;
- }
- This suspicious code was found in Doom3 project by PVS-Studio static code analyzer.
- Warning message is:
- V656 Variables are initialized through the call to the same function. It's probably an error or un-optimized code. Consider inspecting the 'exp1->fixedLength()' expression. actions.cc 391
- PVS-Studio is a static analyzer for detecting bugs in the source code of applications written in C, C++, C++11, C++/CX. Site: http://www.viva64.com/en/pvs-studio/
Advertisement
Add Comment
Please, Sign In to add comment