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();