Skip to content

Commit 5477f43

Browse files
committed
mathlib: Suppress PVS-Studio false positive
1 parent 54305e1 commit 5477f43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/mathlib/vmatrix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ inline void MatrixSetRow( VMatrix &dst, int nRow, const Vector &row )
987987
// NJS: src2 is passed in as a full vector rather than a reference to prevent the need
988988
// for 2 branches and a potential copy in the body. (ie, handling the case when the src2
989989
// reference is the same as the dst reference ).
990-
inline void Vector3DMultiplyPosition( const VMatrix& src1, const VectorByValue src2, Vector& dst )
990+
inline void Vector3DMultiplyPosition( const VMatrix& src1, const VectorByValue src2, Vector& dst ) //-V801
991991
{
992992
dst[0] = src1[0][0] * src2.x + src1[0][1] * src2.y + src1[0][2] * src2.z + src1[0][3];
993993
dst[1] = src1[1][0] * src2.x + src1[1][1] * src2.y + src1[1][2] * src2.z + src1[1][3];

0 commit comments

Comments
 (0)