Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inline void SetX( float val );
- inline void SetY( float val );
- inline void SetZ( float val );
- inline void SetW( float val );
- inline void Init( float ix=0, float iy=0,
- float iz=0, float iw = 0 )
- {
- SetX( ix );
- SetY( iy );
- SetZ( iz );
- SetZ( iw );
- }
- This suspicious code was found in Source SDK project by PVS-Studio static code analyzer.
- Warning message is:
- V525 The code containing the collection of similar blocks. Check items 'SetX', 'SetY', 'SetZ', 'SetZ' in lines 455, 456, 457, 458. Client (HL2) networkvar.h 455
- 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
Advertisement