Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MeMV
- {
- public:
- MeMV(){};
- MeMV(int a0){x = (Ipp16s)a0; y=(Ipp16s)a0;};
- MeMV(int a0, int a1){x = (Ipp16s)a0; y=(Ipp16s)a1;};
- ...
- }
- MeMV MePredictCalculatorVC1::GetPrediction8x8()
- {
- ...
- default:
- return false;
- ...
- }
- This suspicious code was found in IPP Samples project by PVS-Studio static code analyzer.
- Warning message is:
- V601 The 'false' value becomes a class object. me umc_vec_prediction.cpp 754
- 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