From df6194de5f844493bf832284a06b587cfaa4a3ed Mon Sep 17 00:00:00 2001 From: Laurens Voerman Date: Mon, 15 Jan 2018 14:49:24 +0100 Subject: [PATCH] remove unused variable "maxBonePerVertex" --- src/osgAnimation/RigTransformHardware.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osgAnimation/RigTransformHardware.cpp b/src/osgAnimation/RigTransformHardware.cpp index 1ccff5a16..32d5540aa 100644 --- a/src/osgAnimation/RigTransformHardware.cpp +++ b/src/osgAnimation/RigTransformHardware.cpp @@ -194,7 +194,6 @@ bool RigTransformHardware::buildPalette(const BoneMap& boneMap, const RigGeometr _bonePalette.clear(); _boneNameToPalette.clear(); - IndexWeightList::size_type maxBonePerVertex = 0; BoneNameCountMap boneNameCountMap; const VertexInfluenceMap &vertexInfluenceMap = *rig.getInfluenceMap();