Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void CG_ParticleSnowFlurry (qhandle_t pshader, centity_t *cent)
- {
- ...
- p->org[0] = p->org[0];
- p->org[1] = p->org[1];
- p->org[2] = p->org[2];
- ...
- }
- This suspicious code was found in Quake3 project by PVS-Studio static code analyzer.
- Warning message is:
- V570 The 'p->org[0]' variable is assigned to itself. cgame cg_marks.c 1267
- 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