From 3750e2a633fe1380bd80461a162d4974dde987ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20M=C3=B6ller?= Date: Wed, 15 Oct 2014 09:45:31 +0000 Subject: [PATCH] fix cppcheck warning git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1180 fdac6126-5c0c-442c-9429-916003d36597 --- src/Unittests/unittests_vdpm.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Unittests/unittests_vdpm.cc b/src/Unittests/unittests_vdpm.cc index dee87170..50a8c8bf 100644 --- a/src/Unittests/unittests_vdpm.cc +++ b/src/Unittests/unittests_vdpm.cc @@ -253,8 +253,7 @@ TEST_F(OpenMeshVDPM, WriteReadPM) decimater.add(hModQuadric); decimater.add(hModProg); decimater.initialize(); - size_t removedVertices = 0; - removedVertices = decimater.decimate(0); + decimater.decimate(0); std::string filename = "vdpm_test_file.pm";