Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static DWORD WINAPI Decoder(void *p)
- {
- ...
- aInfo.statIntercekt.statIntersectEye = 0.;
- aInfo.statIntercekt.statCPPPostPrc = 0.;
- aInfo.statIntercekt.statInner = 0.;
- aInfo.statIntercekt.statCPR = 0.;
- aInfo.allTime = 0.f;
- statCount = MAX_STAT_COUNT;
- aInfo.allTime = 0.;
- ...
- }
- Most likely this is what should be written here: aInfo.kdtTime = 0.;
- This suspicious code was found in IPP Samples project by PVS-Studio static code analyzer.
- Warning message is:
- V519 The 'aInfo.allTime' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 336, 338. 3d-viewer 3dvmain.cpp 338
- 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