From 1b7ec6f47ef3665f41dbcb7088c73eec47a3a8bf Mon Sep 17 00:00:00 2001 From: Isaak Lim Date: Mon, 14 Oct 2013 13:25:46 +0000 Subject: [PATCH] fixed cppcheck warnings git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@969 fdac6126-5c0c-442c-9429-916003d36597 --- src/Unittests/fill_props.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Unittests/fill_props.hh b/src/Unittests/fill_props.hh index 0309f2d6..ad5e9c3d 100644 --- a/src/Unittests/fill_props.hh +++ b/src/Unittests/fill_props.hh @@ -81,9 +81,7 @@ fill_props( Mesh& _m, OpenMesh::HPropHandleT _ph, bool _check=false) { const int n = it->idx(); - v = it->idx()+1; // ival - v = values[n%9]; // dval - v = ((n&(n-1))==0); // bval + v = ((n&(n-1))==0); v.vec4fval[0] = a[n%9]; v.vec4fval[1] = b[n%9]; v.vec4fval[2] = c[n%9];