From 6eaf1bb6869f029dadd615f17a44ff64ef4604b1 Mon Sep 17 00:00:00 2001
From: Amorilia <amorilia@users.sourceforge.net>
Date: Sat, 6 Jun 2009 10:46:37 +0000
Subject: [PATCH] niflib: no more array_output_count warnings (contributed by
 guidoj, see issue #2789666)

---
 src/obj/AvoidNode.cpp                          | 1 -
 src/obj/BSAnimNotes.cpp                        | 1 -
 src/obj/BSBlastNode.cpp                        | 1 -
 src/obj/BSBound.cpp                            | 1 -
 src/obj/BSDamageStage.cpp                      | 1 -
 src/obj/BSDebrisNode.cpp                       | 1 -
 src/obj/BSDistantTreeShaderProperty.cpp        | 1 -
 src/obj/BSFadeNode.cpp                         | 1 -
 src/obj/BSFrustumFOVController.cpp             | 1 -
 src/obj/BSKeyframeController.cpp               | 1 -
 src/obj/BSMaterialEmittanceMultController.cpp  | 1 -
 src/obj/BSMultiBound.cpp                       | 1 -
 src/obj/BSMultiBoundData.cpp                   | 1 -
 src/obj/BSMultiBoundNode.cpp                   | 1 -
 src/obj/BSMultiBoundSphere.cpp                 | 1 -
 src/obj/BSOrderedNode.cpp                      | 1 -
 src/obj/BSPSysArrayEmitter.cpp                 | 1 -
 src/obj/BSPSysMultiTargetEmitterCtlr.cpp       | 1 -
 src/obj/BSPSysStripUpdateModifier.cpp          | 1 -
 src/obj/BSParentVelocityModifier.cpp           | 1 -
 src/obj/BSRefractionFirePeriodController.cpp   | 1 -
 src/obj/BSRefractionStrengthController.cpp     | 1 -
 src/obj/BSShaderLightingProperty.cpp           | 1 -
 src/obj/BSShaderNoLightingProperty.cpp         | 1 -
 src/obj/BSShaderPPLightingProperty.cpp         | 1 -
 src/obj/BSShaderProperty.cpp                   | 1 -
 src/obj/BSStripPSysData.cpp                    | 1 -
 src/obj/BSStripParticleSystem.cpp              | 1 -
 src/obj/BSValueNode.cpp                        | 1 -
 src/obj/BSWindModifier.cpp                     | 1 -
 src/obj/BSXFlags.cpp                           | 1 -
 src/obj/DistantLODShaderProperty.cpp           | 1 -
 src/obj/FxButton.cpp                           | 1 -
 src/obj/HairShaderProperty.cpp                 | 1 -
 src/obj/Lighting30ShaderProperty.cpp           | 1 -
 src/obj/NiAVObjectPalette.cpp                  | 1 -
 src/obj/NiAlphaController.cpp                  | 1 -
 src/obj/NiAlphaProperty.cpp                    | 1 -
 src/obj/NiAmbientLight.cpp                     | 1 -
 src/obj/NiArkShaderExtraData.cpp               | 1 -
 src/obj/NiAutoNormalParticles.cpp              | 1 -
 src/obj/NiAutoNormalParticlesData.cpp          | 1 -
 src/obj/NiBSAnimationNode.cpp                  | 1 -
 src/obj/NiBSBoneLODController.cpp              | 1 -
 src/obj/NiBSPArrayController.cpp               | 1 -
 src/obj/NiBSParticleNode.cpp                   | 1 -
 src/obj/NiBSplineBasisData.cpp                 | 1 -
 src/obj/NiBSplineCompFloatInterpolator.cpp     | 1 -
 src/obj/NiBSplineCompPoint3Interpolator.cpp    | 1 -
 src/obj/NiBSplineCompTransformInterpolator.cpp | 1 -
 src/obj/NiBSplineFloatInterpolator.cpp         | 1 -
 src/obj/NiBSplineInterpolator.cpp              | 1 -
 src/obj/NiBSplineTransformInterpolator.cpp     | 1 -
 src/obj/NiBillboardNode.cpp                    | 1 -
 src/obj/NiBinaryVoxelExtraData.cpp             | 1 -
 src/obj/NiBlendBoolInterpolator.cpp            | 1 -
 src/obj/NiBlendFloatInterpolator.cpp           | 1 -
 src/obj/NiBlendInterpolator.cpp                | 1 -
 src/obj/NiBlendPoint3Interpolator.cpp          | 1 -
 src/obj/NiBlendTransformInterpolator.cpp       | 1 -
 src/obj/NiBone.cpp                             | 1 -
 src/obj/NiBoolInterpController.cpp             | 1 -
 src/obj/NiBoolInterpolator.cpp                 | 1 -
 src/obj/NiBoolTimelineInterpolator.cpp         | 1 -
 src/obj/NiBooleanExtraData.cpp                 | 1 -
 src/obj/NiCamera.cpp                           | 1 -
 src/obj/NiClod.cpp                             | 1 -
 src/obj/NiClodSkinInstance.cpp                 | 1 -
 src/obj/NiCollisionObject.cpp                  | 1 -
 src/obj/NiColorExtraData.cpp                   | 1 -
 src/obj/NiControllerSequence.cpp               | 1 -
 src/obj/NiDirectionalLight.cpp                 | 1 -
 src/obj/NiDitherProperty.cpp                   | 1 -
 src/obj/NiEnvMappedTriShapeData.cpp            | 1 -
 src/obj/NiExtraData.cpp                        | 1 -
 src/obj/NiExtraDataController.cpp              | 1 -
 src/obj/NiFloatExtraData.cpp                   | 1 -
 src/obj/NiFloatInterpController.cpp            | 1 -
 src/obj/NiFloatInterpolator.cpp                | 1 -
 src/obj/NiFogProperty.cpp                      | 1 -
 src/obj/NiGravity.cpp                          | 1 -
 src/obj/NiImage.cpp                            | 1 -
 src/obj/NiIntegerExtraData.cpp                 | 1 -
 src/obj/NiInterpController.cpp                 | 1 -
 src/obj/NiInterpolator.cpp                     | 1 -
 src/obj/NiKeyBasedInterpolator.cpp             | 1 -
 src/obj/NiKeyframeController.cpp               | 1 -
 src/obj/NiLODData.cpp                          | 1 -
 src/obj/NiLight.cpp                            | 1 -
 src/obj/NiLightColorController.cpp             | 1 -
 src/obj/NiLightDimmerController.cpp            | 1 -
 src/obj/NiLightIntensityController.cpp         | 1 -
 src/obj/NiLines.cpp                            | 1 -
 src/obj/NiLookAtController.cpp                 | 1 -
 src/obj/NiLookAtInterpolator.cpp               | 1 -
 src/obj/NiMaterialColorController.cpp          | 1 -
 src/obj/NiMaterialProperty.cpp                 | 1 -
 src/obj/NiMeshParticleSystem.cpp               | 1 -
 src/obj/NiMorphController.cpp                  | 1 -
 src/obj/NiMorpherController.cpp                | 1 -
 src/obj/NiObject.cpp                           | 1 -
 src/obj/NiPSysAgeDeathModifier.cpp             | 1 -
 src/obj/NiPSysAirFieldModifier.cpp             | 1 -
 src/obj/NiPSysBombModifier.cpp                 | 1 -
 src/obj/NiPSysBoundUpdateModifier.cpp          | 1 -
 src/obj/NiPSysBoxEmitter.cpp                   | 1 -
 src/obj/NiPSysCollider.cpp                     | 1 -
 src/obj/NiPSysColliderManager.cpp              | 1 -
 src/obj/NiPSysColorModifier.cpp                | 1 -
 src/obj/NiPSysCylinderEmitter.cpp              | 1 -
 src/obj/NiPSysDragFieldModifier.cpp            | 1 -
 src/obj/NiPSysDragModifier.cpp                 | 1 -
 src/obj/NiPSysEmitter.cpp                      | 1 -
 src/obj/NiPSysEmitterCtlr.cpp                  | 1 -
 src/obj/NiPSysEmitterDeclinationCtlr.cpp       | 1 -
 src/obj/NiPSysEmitterDeclinationVarCtlr.cpp    | 1 -
 src/obj/NiPSysEmitterInitialRadiusCtlr.cpp     | 1 -
 src/obj/NiPSysEmitterLifeSpanCtlr.cpp          | 1 -
 src/obj/NiPSysEmitterSpeedCtlr.cpp             | 1 -
 src/obj/NiPSysFieldMagnitudeCtlr.cpp           | 1 -
 src/obj/NiPSysFieldModifier.cpp                | 1 -
 src/obj/NiPSysGravityFieldModifier.cpp         | 1 -
 src/obj/NiPSysGravityModifier.cpp              | 1 -
 src/obj/NiPSysGravityStrengthCtlr.cpp          | 1 -
 src/obj/NiPSysGrowFadeModifier.cpp             | 1 -
 src/obj/NiPSysModifier.cpp                     | 1 -
 src/obj/NiPSysModifierActiveCtlr.cpp           | 1 -
 src/obj/NiPSysModifierBoolCtlr.cpp             | 1 -
 src/obj/NiPSysModifierCtlr.cpp                 | 1 -
 src/obj/NiPSysModifierFloatCtlr.cpp            | 1 -
 src/obj/NiPSysPlanarCollider.cpp               | 1 -
 src/obj/NiPSysPositionModifier.cpp             | 1 -
 src/obj/NiPSysResetOnLoopCtlr.cpp              | 1 -
 src/obj/NiPSysRotationModifier.cpp             | 1 -
 src/obj/NiPSysSpawnModifier.cpp                | 1 -
 src/obj/NiPSysSphereEmitter.cpp                | 1 -
 src/obj/NiPSysSphericalCollider.cpp            | 1 -
 src/obj/NiPSysTrailEmitter.cpp                 | 1 -
 src/obj/NiPSysTurbulenceFieldModifier.cpp      | 1 -
 src/obj/NiPSysUpdateCtlr.cpp                   | 1 -
 src/obj/NiPSysVolumeEmitter.cpp                | 1 -
 src/obj/NiPSysVortexFieldModifier.cpp          | 1 -
 src/obj/NiParticleBomb.cpp                     | 1 -
 src/obj/NiParticleColorModifier.cpp            | 1 -
 src/obj/NiParticleGrowFade.cpp                 | 1 -
 src/obj/NiParticleMeshes.cpp                   | 1 -
 src/obj/NiParticleMeshesData.cpp               | 1 -
 src/obj/NiParticleModifier.cpp                 | 1 -
 src/obj/NiParticleRotation.cpp                 | 1 -
 src/obj/NiParticles.cpp                        | 1 -
 src/obj/NiPathController.cpp                   | 1 -
 src/obj/NiPathInterpolator.cpp                 | 1 -
 src/obj/NiPhysXTransformDest.cpp               | 1 -
 src/obj/NiPlanarCollider.cpp                   | 1 -
 src/obj/NiPoint3InterpController.cpp           | 1 -
 src/obj/NiPoint3Interpolator.cpp               | 1 -
 src/obj/NiPointLight.cpp                       | 1 -
 src/obj/NiProperty.cpp                         | 1 -
 src/obj/NiRollController.cpp                   | 1 -
 src/obj/NiRotatingParticles.cpp                | 1 -
 src/obj/NiScreenElements.cpp                   | 1 -
 src/obj/NiSequenceStreamHelper.cpp             | 1 -
 src/obj/NiShadeProperty.cpp                    | 1 -
 src/obj/NiSingleInterpController.cpp           | 1 -
 src/obj/NiSortAdjustNode.cpp                   | 1 -
 src/obj/NiSourceCubeMap.cpp                    | 1 -
 src/obj/NiSourceTexture.cpp                    | 1 -
 src/obj/NiSpecularProperty.cpp                 | 1 -
 src/obj/NiSphericalCollider.cpp                | 1 -
 src/obj/NiSpotLight.cpp                        | 1 -
 src/obj/NiStencilProperty.cpp                  | 1 -
 src/obj/NiStringExtraData.cpp                  | 1 -
 src/obj/NiStringPalette.cpp                    | 1 -
 src/obj/NiSwitchNode.cpp                       | 1 -
 src/obj/NiTexture.cpp                          | 1 -
 src/obj/NiTextureEffect.cpp                    | 1 -
 src/obj/NiTextureModeProperty.cpp              | 1 -
 src/obj/NiTextureProperty.cpp                  | 1 -
 src/obj/NiTextureTransformController.cpp       | 1 -
 src/obj/NiTimeController.cpp                   | 1 -
 src/obj/NiTransformController.cpp              | 1 -
 src/obj/NiTransformData.cpp                    | 1 -
 src/obj/NiTriBasedGeom.cpp                     | 1 -
 src/obj/NiTriBasedGeomData.cpp                 | 1 -
 src/obj/NiTriShape.cpp                         | 1 -
 src/obj/NiTriStrips.cpp                        | 1 -
 src/obj/NiUVController.cpp                     | 1 -
 src/obj/NiVectorExtraData.cpp                  | 1 -
 src/obj/NiVertexColorProperty.cpp              | 1 -
 src/obj/NiVisController.cpp                    | 1 -
 src/obj/NiWireframeProperty.cpp                | 1 -
 src/obj/NiZBufferProperty.cpp                  | 1 -
 src/obj/RootCollisionNode.cpp                  | 1 -
 src/obj/SkyShaderProperty.cpp                  | 1 -
 src/obj/TallGrassShaderProperty.cpp            | 1 -
 src/obj/TileShaderProperty.cpp                 | 1 -
 src/obj/VolumetricFogShaderProperty.cpp        | 1 -
 src/obj/WaterShaderProperty.cpp                | 1 -
 src/obj/bhkBlendCollisionObject.cpp            | 1 -
 src/obj/bhkBlendController.cpp                 | 1 -
 src/obj/bhkBvTreeShape.cpp                     | 1 -
 src/obj/bhkCollisionObject.cpp                 | 1 -
 src/obj/bhkConvexShape.cpp                     | 1 -
 src/obj/bhkConvexTransformShape.cpp            | 1 -
 src/obj/bhkEntity.cpp                          | 1 -
 src/obj/bhkHingeConstraint.cpp                 | 1 -
 src/obj/bhkLimitedHingeConstraint.cpp          | 1 -
 src/obj/bhkLiquidAction.cpp                    | 1 -
 src/obj/bhkMalleableConstraint.cpp             | 1 -
 src/obj/bhkNiCollisionObject.cpp               | 1 -
 src/obj/bhkPCollisionObject.cpp                | 1 -
 src/obj/bhkPhantom.cpp                         | 1 -
 src/obj/bhkRagdollConstraint.cpp               | 1 -
 src/obj/bhkRefObject.cpp                       | 1 -
 src/obj/bhkRigidBodyT.cpp                      | 1 -
 src/obj/bhkSPCollisionObject.cpp               | 1 -
 src/obj/bhkSerializable.cpp                    | 1 -
 src/obj/bhkShape.cpp                           | 1 -
 src/obj/bhkShapeCollection.cpp                 | 1 -
 src/obj/bhkShapePhantom.cpp                    | 1 -
 src/obj/bhkSphereRepShape.cpp                  | 1 -
 src/obj/bhkSphereShape.cpp                     | 1 -
 src/obj/bhkStiffSpringConstraint.cpp           | 1 -
 src/obj/bhkWorldObject.cpp                     | 1 -
 224 files changed, 224 deletions(-)

diff --git a/src/obj/AvoidNode.cpp b/src/obj/AvoidNode.cpp
index 863f91e8..d6c68927 100644
--- a/src/obj/AvoidNode.cpp
+++ b/src/obj/AvoidNode.cpp
@@ -62,7 +62,6 @@ std::string AvoidNode::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	return out.str();
 
diff --git a/src/obj/BSAnimNotes.cpp b/src/obj/BSAnimNotes.cpp
index cf0697df..18b9018f 100644
--- a/src/obj/BSAnimNotes.cpp
+++ b/src/obj/BSAnimNotes.cpp
@@ -72,7 +72,6 @@ std::string BSAnimNotes::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	out << "  Unknown Short 1:  " << unknownShort1 << endl;
 	return out.str();
diff --git a/src/obj/BSBlastNode.cpp b/src/obj/BSBlastNode.cpp
index 173133e4..0ebb00ed 100644
--- a/src/obj/BSBlastNode.cpp
+++ b/src/obj/BSBlastNode.cpp
@@ -74,7 +74,6 @@ std::string BSBlastNode::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	out << "  Unknown Byte 1:  " << unknownByte1 << endl;
 	out << "  Unknown Short 2:  " << unknownShort2 << endl;
diff --git a/src/obj/BSBound.cpp b/src/obj/BSBound.cpp
index cd40d90a..4d3b6939 100644
--- a/src/obj/BSBound.cpp
+++ b/src/obj/BSBound.cpp
@@ -66,7 +66,6 @@ std::string BSBound::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiExtraData::asString();
 	out << "  Center:  " << center << endl;
 	out << "  Dimensions:  " << dimensions << endl;
diff --git a/src/obj/BSDamageStage.cpp b/src/obj/BSDamageStage.cpp
index 95b1e9e9..4aac84e8 100644
--- a/src/obj/BSDamageStage.cpp
+++ b/src/obj/BSDamageStage.cpp
@@ -74,7 +74,6 @@ std::string BSDamageStage::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	out << "  Unknown Byte 1:  " << unknownByte1 << endl;
 	out << "  Unknown Short 2:  " << unknownShort2 << endl;
diff --git a/src/obj/BSDebrisNode.cpp b/src/obj/BSDebrisNode.cpp
index 1c493fce..099c1fb1 100644
--- a/src/obj/BSDebrisNode.cpp
+++ b/src/obj/BSDebrisNode.cpp
@@ -74,7 +74,6 @@ std::string BSDebrisNode::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	out << "  Unknown byte 1:  " << unknownByte1 << endl;
 	out << "  Unknown Short 1:  " << unknownShort1 << endl;
diff --git a/src/obj/BSDistantTreeShaderProperty.cpp b/src/obj/BSDistantTreeShaderProperty.cpp
index e4c1d5c2..e3a48237 100644
--- a/src/obj/BSDistantTreeShaderProperty.cpp
+++ b/src/obj/BSDistantTreeShaderProperty.cpp
@@ -70,7 +70,6 @@ std::string BSDistantTreeShaderProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << BSShaderProperty::asString();
 	return out.str();
 
diff --git a/src/obj/BSFadeNode.cpp b/src/obj/BSFadeNode.cpp
index b4bc8cd3..d0b232dd 100644
--- a/src/obj/BSFadeNode.cpp
+++ b/src/obj/BSFadeNode.cpp
@@ -70,7 +70,6 @@ std::string BSFadeNode::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	return out.str();
 
diff --git a/src/obj/BSFrustumFOVController.cpp b/src/obj/BSFrustumFOVController.cpp
index 5ae6136e..2f63358a 100644
--- a/src/obj/BSFrustumFOVController.cpp
+++ b/src/obj/BSFrustumFOVController.cpp
@@ -83,7 +83,6 @@ std::string BSFrustumFOVController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTimeController::asString();
 	out << "  Interpolator:  " << interpolator << endl;
 	return out.str();
diff --git a/src/obj/BSKeyframeController.cpp b/src/obj/BSKeyframeController.cpp
index 6b64582b..68a50c6e 100644
--- a/src/obj/BSKeyframeController.cpp
+++ b/src/obj/BSKeyframeController.cpp
@@ -75,7 +75,6 @@ std::string BSKeyframeController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiKeyframeController::asString();
 	out << "  Data 2:  " << data2 << endl;
 	return out.str();
diff --git a/src/obj/BSMaterialEmittanceMultController.cpp b/src/obj/BSMaterialEmittanceMultController.cpp
index 5c733eb2..bf215554 100644
--- a/src/obj/BSMaterialEmittanceMultController.cpp
+++ b/src/obj/BSMaterialEmittanceMultController.cpp
@@ -70,7 +70,6 @@ std::string BSMaterialEmittanceMultController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiFloatInterpController::asString();
 	return out.str();
 
diff --git a/src/obj/BSMultiBound.cpp b/src/obj/BSMultiBound.cpp
index 9a506cae..ca9bebf0 100644
--- a/src/obj/BSMultiBound.cpp
+++ b/src/obj/BSMultiBound.cpp
@@ -83,7 +83,6 @@ std::string BSMultiBound::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	out << "  Data:  " << data << endl;
 	return out.str();
diff --git a/src/obj/BSMultiBoundData.cpp b/src/obj/BSMultiBoundData.cpp
index 0b1d0dc3..f8d3ba68 100644
--- a/src/obj/BSMultiBoundData.cpp
+++ b/src/obj/BSMultiBoundData.cpp
@@ -70,7 +70,6 @@ std::string BSMultiBoundData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	return out.str();
 
diff --git a/src/obj/BSMultiBoundNode.cpp b/src/obj/BSMultiBoundNode.cpp
index 3355b667..ba429c17 100644
--- a/src/obj/BSMultiBoundNode.cpp
+++ b/src/obj/BSMultiBoundNode.cpp
@@ -83,7 +83,6 @@ std::string BSMultiBoundNode::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	out << "  Multi Bound:  " << multiBound << endl;
 	return out.str();
diff --git a/src/obj/BSMultiBoundSphere.cpp b/src/obj/BSMultiBoundSphere.cpp
index 1672c5f8..63816fb8 100644
--- a/src/obj/BSMultiBoundSphere.cpp
+++ b/src/obj/BSMultiBoundSphere.cpp
@@ -78,7 +78,6 @@ std::string BSMultiBoundSphere::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << BSMultiBoundData::asString();
 	out << "  Unknown Int 1:  " << unknownInt1 << endl;
 	out << "  Unknown Int 2:  " << unknownInt2 << endl;
diff --git a/src/obj/BSOrderedNode.cpp b/src/obj/BSOrderedNode.cpp
index cc7ff015..4abc133b 100644
--- a/src/obj/BSOrderedNode.cpp
+++ b/src/obj/BSOrderedNode.cpp
@@ -74,7 +74,6 @@ std::string BSOrderedNode::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	out << "  Alpha Sort Bound:  " << alphaSortBound << endl;
 	out << "  Is Static Bound:  " << isStaticBound << endl;
diff --git a/src/obj/BSPSysArrayEmitter.cpp b/src/obj/BSPSysArrayEmitter.cpp
index a25b2f6d..29dd4b4b 100644
--- a/src/obj/BSPSysArrayEmitter.cpp
+++ b/src/obj/BSPSysArrayEmitter.cpp
@@ -62,7 +62,6 @@ std::string BSPSysArrayEmitter::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysVolumeEmitter::asString();
 	return out.str();
 
diff --git a/src/obj/BSPSysMultiTargetEmitterCtlr.cpp b/src/obj/BSPSysMultiTargetEmitterCtlr.cpp
index c1f0b00e..c59f6f25 100644
--- a/src/obj/BSPSysMultiTargetEmitterCtlr.cpp
+++ b/src/obj/BSPSysMultiTargetEmitterCtlr.cpp
@@ -107,7 +107,6 @@ std::string BSPSysMultiTargetEmitterCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifierCtlr::asString();
 	out << "  Data:  " << data << endl;
 	out << "  Visibility Interpolator:  " << visibilityInterpolator << endl;
diff --git a/src/obj/BSPSysStripUpdateModifier.cpp b/src/obj/BSPSysStripUpdateModifier.cpp
index cddbd480..41bc17d9 100644
--- a/src/obj/BSPSysStripUpdateModifier.cpp
+++ b/src/obj/BSPSysStripUpdateModifier.cpp
@@ -72,7 +72,6 @@ std::string BSPSysStripUpdateModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Update Delta Time:  " << updateDeltaTime << endl;
 	return out.str();
diff --git a/src/obj/BSParentVelocityModifier.cpp b/src/obj/BSParentVelocityModifier.cpp
index 2985bf7f..0e45b38b 100644
--- a/src/obj/BSParentVelocityModifier.cpp
+++ b/src/obj/BSParentVelocityModifier.cpp
@@ -64,7 +64,6 @@ std::string BSParentVelocityModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Damping:  " << damping << endl;
 	return out.str();
diff --git a/src/obj/BSRefractionFirePeriodController.cpp b/src/obj/BSRefractionFirePeriodController.cpp
index 4320044e..69db597c 100644
--- a/src/obj/BSRefractionFirePeriodController.cpp
+++ b/src/obj/BSRefractionFirePeriodController.cpp
@@ -70,7 +70,6 @@ std::string BSRefractionFirePeriodController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTimeController::asString();
 	return out.str();
 
diff --git a/src/obj/BSRefractionStrengthController.cpp b/src/obj/BSRefractionStrengthController.cpp
index 3c4d5d40..b876d922 100644
--- a/src/obj/BSRefractionStrengthController.cpp
+++ b/src/obj/BSRefractionStrengthController.cpp
@@ -70,7 +70,6 @@ std::string BSRefractionStrengthController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiFloatInterpController::asString();
 	return out.str();
 
diff --git a/src/obj/BSShaderLightingProperty.cpp b/src/obj/BSShaderLightingProperty.cpp
index c475755a..95b10677 100644
--- a/src/obj/BSShaderLightingProperty.cpp
+++ b/src/obj/BSShaderLightingProperty.cpp
@@ -72,7 +72,6 @@ std::string BSShaderLightingProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << BSShaderProperty::asString();
 	out << "  Unknown Int 3:  " << unknownInt3 << endl;
 	return out.str();
diff --git a/src/obj/BSShaderNoLightingProperty.cpp b/src/obj/BSShaderNoLightingProperty.cpp
index b5a2cea1..8b4a88d8 100644
--- a/src/obj/BSShaderNoLightingProperty.cpp
+++ b/src/obj/BSShaderNoLightingProperty.cpp
@@ -84,7 +84,6 @@ std::string BSShaderNoLightingProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << BSShaderLightingProperty::asString();
 	out << "  File Name:  " << fileName << endl;
 	out << "  Unknown Float 2:  " << unknownFloat2 << endl;
diff --git a/src/obj/BSShaderPPLightingProperty.cpp b/src/obj/BSShaderPPLightingProperty.cpp
index c768f6fb..aec4525d 100644
--- a/src/obj/BSShaderPPLightingProperty.cpp
+++ b/src/obj/BSShaderPPLightingProperty.cpp
@@ -99,7 +99,6 @@ std::string BSShaderPPLightingProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << BSShaderLightingProperty::asString();
 	out << "  Texture Set:  " << textureSet << endl;
 	out << "  Unknown Float 2:  " << unknownFloat2 << endl;
diff --git a/src/obj/BSShaderProperty.cpp b/src/obj/BSShaderProperty.cpp
index 146ee0f8..4bd68e1e 100644
--- a/src/obj/BSShaderProperty.cpp
+++ b/src/obj/BSShaderProperty.cpp
@@ -80,7 +80,6 @@ std::string BSShaderProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiProperty::asString();
 	out << "  Flags:  " << flags << endl;
 	out << "  Shader Type:  " << shaderType << endl;
diff --git a/src/obj/BSStripPSysData.cpp b/src/obj/BSStripPSysData.cpp
index 21605dab..a6b28e83 100644
--- a/src/obj/BSStripPSysData.cpp
+++ b/src/obj/BSStripPSysData.cpp
@@ -78,7 +78,6 @@ std::string BSStripPSysData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysData::asString();
 	out << "  Unknown Short 1:  " << unknownShort1 << endl;
 	out << "  Unknown byte 1:  " << unknownByte1 << endl;
diff --git a/src/obj/BSStripParticleSystem.cpp b/src/obj/BSStripParticleSystem.cpp
index bd3c2fa9..dad477d5 100644
--- a/src/obj/BSStripParticleSystem.cpp
+++ b/src/obj/BSStripParticleSystem.cpp
@@ -70,7 +70,6 @@ std::string BSStripParticleSystem::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticleSystem::asString();
 	return out.str();
 
diff --git a/src/obj/BSValueNode.cpp b/src/obj/BSValueNode.cpp
index 3433524e..8e28044c 100644
--- a/src/obj/BSValueNode.cpp
+++ b/src/obj/BSValueNode.cpp
@@ -74,7 +74,6 @@ std::string BSValueNode::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	out << "  Value:  " << value << endl;
 	out << "  Unknown byte:  " << unknownByte << endl;
diff --git a/src/obj/BSWindModifier.cpp b/src/obj/BSWindModifier.cpp
index e77af04b..92d6f970 100644
--- a/src/obj/BSWindModifier.cpp
+++ b/src/obj/BSWindModifier.cpp
@@ -64,7 +64,6 @@ std::string BSWindModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Strength:  " << strength << endl;
 	return out.str();
diff --git a/src/obj/BSXFlags.cpp b/src/obj/BSXFlags.cpp
index 9abc16d2..d387a57d 100644
--- a/src/obj/BSXFlags.cpp
+++ b/src/obj/BSXFlags.cpp
@@ -62,7 +62,6 @@ std::string BSXFlags::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiIntegerExtraData::asString();
 	return out.str();
 
diff --git a/src/obj/DistantLODShaderProperty.cpp b/src/obj/DistantLODShaderProperty.cpp
index ab08fa59..f3215de7 100644
--- a/src/obj/DistantLODShaderProperty.cpp
+++ b/src/obj/DistantLODShaderProperty.cpp
@@ -70,7 +70,6 @@ std::string DistantLODShaderProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << BSShaderProperty::asString();
 	return out.str();
 
diff --git a/src/obj/FxButton.cpp b/src/obj/FxButton.cpp
index cc2047b5..0eb55803 100644
--- a/src/obj/FxButton.cpp
+++ b/src/obj/FxButton.cpp
@@ -62,7 +62,6 @@ std::string FxButton::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << FxWidget::asString();
 	return out.str();
 
diff --git a/src/obj/HairShaderProperty.cpp b/src/obj/HairShaderProperty.cpp
index 0e3ccd7e..51245f8d 100644
--- a/src/obj/HairShaderProperty.cpp
+++ b/src/obj/HairShaderProperty.cpp
@@ -70,7 +70,6 @@ std::string HairShaderProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << BSShaderProperty::asString();
 	return out.str();
 
diff --git a/src/obj/Lighting30ShaderProperty.cpp b/src/obj/Lighting30ShaderProperty.cpp
index df47be16..e5a4016f 100644
--- a/src/obj/Lighting30ShaderProperty.cpp
+++ b/src/obj/Lighting30ShaderProperty.cpp
@@ -70,7 +70,6 @@ std::string Lighting30ShaderProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << BSShaderPPLightingProperty::asString();
 	return out.str();
 
diff --git a/src/obj/NiAVObjectPalette.cpp b/src/obj/NiAVObjectPalette.cpp
index dff66023..1e5761ec 100644
--- a/src/obj/NiAVObjectPalette.cpp
+++ b/src/obj/NiAVObjectPalette.cpp
@@ -62,7 +62,6 @@ std::string NiAVObjectPalette::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	return out.str();
 
diff --git a/src/obj/NiAlphaController.cpp b/src/obj/NiAlphaController.cpp
index e2b0ea26..ffa7b7f3 100644
--- a/src/obj/NiAlphaController.cpp
+++ b/src/obj/NiAlphaController.cpp
@@ -80,7 +80,6 @@ std::string NiAlphaController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiFloatInterpController::asString();
 	out << "  Data:  " << data << endl;
 	return out.str();
diff --git a/src/obj/NiAlphaProperty.cpp b/src/obj/NiAlphaProperty.cpp
index fbcc8fd1..4c5b5b84 100644
--- a/src/obj/NiAlphaProperty.cpp
+++ b/src/obj/NiAlphaProperty.cpp
@@ -66,7 +66,6 @@ std::string NiAlphaProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiProperty::asString();
 	out << "  Flags:  " << flags << endl;
 	out << "  Threshold:  " << threshold << endl;
diff --git a/src/obj/NiAmbientLight.cpp b/src/obj/NiAmbientLight.cpp
index 629dacf9..a1fdc37e 100644
--- a/src/obj/NiAmbientLight.cpp
+++ b/src/obj/NiAmbientLight.cpp
@@ -62,7 +62,6 @@ std::string NiAmbientLight::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiLight::asString();
 	return out.str();
 
diff --git a/src/obj/NiArkShaderExtraData.cpp b/src/obj/NiArkShaderExtraData.cpp
index 7912e643..12d65c07 100644
--- a/src/obj/NiArkShaderExtraData.cpp
+++ b/src/obj/NiArkShaderExtraData.cpp
@@ -74,7 +74,6 @@ std::string NiArkShaderExtraData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiExtraData::asString();
 	out << "  Unknown Int:  " << unknownInt << endl;
 	out << "  Unknown String:  " << unknownString << endl;
diff --git a/src/obj/NiAutoNormalParticles.cpp b/src/obj/NiAutoNormalParticles.cpp
index f780d9de..602d4100 100644
--- a/src/obj/NiAutoNormalParticles.cpp
+++ b/src/obj/NiAutoNormalParticles.cpp
@@ -62,7 +62,6 @@ std::string NiAutoNormalParticles::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticles::asString();
 	return out.str();
 
diff --git a/src/obj/NiAutoNormalParticlesData.cpp b/src/obj/NiAutoNormalParticlesData.cpp
index 0535d849..7897920a 100644
--- a/src/obj/NiAutoNormalParticlesData.cpp
+++ b/src/obj/NiAutoNormalParticlesData.cpp
@@ -62,7 +62,6 @@ std::string NiAutoNormalParticlesData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticlesData::asString();
 	return out.str();
 
diff --git a/src/obj/NiBSAnimationNode.cpp b/src/obj/NiBSAnimationNode.cpp
index 1ea898e0..5090550e 100644
--- a/src/obj/NiBSAnimationNode.cpp
+++ b/src/obj/NiBSAnimationNode.cpp
@@ -62,7 +62,6 @@ std::string NiBSAnimationNode::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	return out.str();
 
diff --git a/src/obj/NiBSBoneLODController.cpp b/src/obj/NiBSBoneLODController.cpp
index af9e84dd..49d9c6d5 100644
--- a/src/obj/NiBSBoneLODController.cpp
+++ b/src/obj/NiBSBoneLODController.cpp
@@ -62,7 +62,6 @@ std::string NiBSBoneLODController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiBoneLODController::asString();
 	return out.str();
 
diff --git a/src/obj/NiBSPArrayController.cpp b/src/obj/NiBSPArrayController.cpp
index cdcfa29e..fe872375 100644
--- a/src/obj/NiBSPArrayController.cpp
+++ b/src/obj/NiBSPArrayController.cpp
@@ -62,7 +62,6 @@ std::string NiBSPArrayController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticleSystemController::asString();
 	return out.str();
 
diff --git a/src/obj/NiBSParticleNode.cpp b/src/obj/NiBSParticleNode.cpp
index 22d3654a..6c1fd914 100644
--- a/src/obj/NiBSParticleNode.cpp
+++ b/src/obj/NiBSParticleNode.cpp
@@ -62,7 +62,6 @@ std::string NiBSParticleNode::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	return out.str();
 
diff --git a/src/obj/NiBSplineBasisData.cpp b/src/obj/NiBSplineBasisData.cpp
index 231e9fa1..bdb030fc 100644
--- a/src/obj/NiBSplineBasisData.cpp
+++ b/src/obj/NiBSplineBasisData.cpp
@@ -64,7 +64,6 @@ std::string NiBSplineBasisData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	out << "  Num Control Points:  " << numControlPoints << endl;
 	return out.str();
diff --git a/src/obj/NiBSplineCompFloatInterpolator.cpp b/src/obj/NiBSplineCompFloatInterpolator.cpp
index c9a0a561..48996d23 100644
--- a/src/obj/NiBSplineCompFloatInterpolator.cpp
+++ b/src/obj/NiBSplineCompFloatInterpolator.cpp
@@ -73,7 +73,6 @@ std::string NiBSplineCompFloatInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiBSplineFloatInterpolator::asString();
 	out << "  Base:  " << base << endl;
 	out << "  Offset:  " << offset << endl;
diff --git a/src/obj/NiBSplineCompPoint3Interpolator.cpp b/src/obj/NiBSplineCompPoint3Interpolator.cpp
index 6bdd2ea6..af53a689 100644
--- a/src/obj/NiBSplineCompPoint3Interpolator.cpp
+++ b/src/obj/NiBSplineCompPoint3Interpolator.cpp
@@ -62,7 +62,6 @@ std::string NiBSplineCompPoint3Interpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiBSplinePoint3Interpolator::asString();
 	return out.str();
 
diff --git a/src/obj/NiBSplineCompTransformInterpolator.cpp b/src/obj/NiBSplineCompTransformInterpolator.cpp
index 9dcc2edc..7c2cef86 100644
--- a/src/obj/NiBSplineCompTransformInterpolator.cpp
+++ b/src/obj/NiBSplineCompTransformInterpolator.cpp
@@ -81,7 +81,6 @@ std::string NiBSplineCompTransformInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiBSplineTransformInterpolator::asString();
 	out << "  Translation Bias:  " << translationBias << endl;
 	out << "  Translation Multiplier:  " << translationMultiplier << endl;
diff --git a/src/obj/NiBSplineFloatInterpolator.cpp b/src/obj/NiBSplineFloatInterpolator.cpp
index 0d9d0c1d..c7081497 100644
--- a/src/obj/NiBSplineFloatInterpolator.cpp
+++ b/src/obj/NiBSplineFloatInterpolator.cpp
@@ -62,7 +62,6 @@ std::string NiBSplineFloatInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiBSplineInterpolator::asString();
 	return out.str();
 
diff --git a/src/obj/NiBSplineInterpolator.cpp b/src/obj/NiBSplineInterpolator.cpp
index e1664e6a..e316af76 100644
--- a/src/obj/NiBSplineInterpolator.cpp
+++ b/src/obj/NiBSplineInterpolator.cpp
@@ -91,7 +91,6 @@ std::string NiBSplineInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiInterpolator::asString();
 	out << "  Start Time:  " << startTime << endl;
 	out << "  Stop Time:  " << stopTime << endl;
diff --git a/src/obj/NiBSplineTransformInterpolator.cpp b/src/obj/NiBSplineTransformInterpolator.cpp
index dbaad7f4..fa6fbdf9 100644
--- a/src/obj/NiBSplineTransformInterpolator.cpp
+++ b/src/obj/NiBSplineTransformInterpolator.cpp
@@ -80,7 +80,6 @@ std::string NiBSplineTransformInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiBSplineInterpolator::asString();
 	out << "  Translation:  " << translation << endl;
 	out << "  Rotation:  " << rotation << endl;
diff --git a/src/obj/NiBillboardNode.cpp b/src/obj/NiBillboardNode.cpp
index d7c48fa7..ebfd68ea 100644
--- a/src/obj/NiBillboardNode.cpp
+++ b/src/obj/NiBillboardNode.cpp
@@ -68,7 +68,6 @@ std::string NiBillboardNode::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	out << "  Billboard Mode:  " << billboardMode << endl;
 	return out.str();
diff --git a/src/obj/NiBinaryVoxelExtraData.cpp b/src/obj/NiBinaryVoxelExtraData.cpp
index 635bae78..775af7b4 100644
--- a/src/obj/NiBinaryVoxelExtraData.cpp
+++ b/src/obj/NiBinaryVoxelExtraData.cpp
@@ -77,7 +77,6 @@ std::string NiBinaryVoxelExtraData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiExtraData::asString();
 	out << "  Unknown Int:  " << unknownInt << endl;
 	out << "  Data:  " << data << endl;
diff --git a/src/obj/NiBlendBoolInterpolator.cpp b/src/obj/NiBlendBoolInterpolator.cpp
index e698adb4..7b243e73 100644
--- a/src/obj/NiBlendBoolInterpolator.cpp
+++ b/src/obj/NiBlendBoolInterpolator.cpp
@@ -64,7 +64,6 @@ std::string NiBlendBoolInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiBlendInterpolator::asString();
 	out << "  Bool Value:  " << boolValue << endl;
 	return out.str();
diff --git a/src/obj/NiBlendFloatInterpolator.cpp b/src/obj/NiBlendFloatInterpolator.cpp
index 14f176d3..9314f60f 100644
--- a/src/obj/NiBlendFloatInterpolator.cpp
+++ b/src/obj/NiBlendFloatInterpolator.cpp
@@ -64,7 +64,6 @@ std::string NiBlendFloatInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiBlendInterpolator::asString();
 	out << "  Float Value:  " << floatValue << endl;
 	return out.str();
diff --git a/src/obj/NiBlendInterpolator.cpp b/src/obj/NiBlendInterpolator.cpp
index b0950db9..f5b11ba2 100644
--- a/src/obj/NiBlendInterpolator.cpp
+++ b/src/obj/NiBlendInterpolator.cpp
@@ -66,7 +66,6 @@ std::string NiBlendInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiInterpolator::asString();
 	out << "  Unknown Short:  " << unknownShort << endl;
 	out << "  Unknown Int:  " << unknownInt << endl;
diff --git a/src/obj/NiBlendPoint3Interpolator.cpp b/src/obj/NiBlendPoint3Interpolator.cpp
index 037526cb..7c2f60b9 100644
--- a/src/obj/NiBlendPoint3Interpolator.cpp
+++ b/src/obj/NiBlendPoint3Interpolator.cpp
@@ -64,7 +64,6 @@ std::string NiBlendPoint3Interpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiBlendInterpolator::asString();
 	out << "  Point Value:  " << pointValue << endl;
 	return out.str();
diff --git a/src/obj/NiBlendTransformInterpolator.cpp b/src/obj/NiBlendTransformInterpolator.cpp
index 9e35535e..c8ceea1a 100644
--- a/src/obj/NiBlendTransformInterpolator.cpp
+++ b/src/obj/NiBlendTransformInterpolator.cpp
@@ -62,7 +62,6 @@ std::string NiBlendTransformInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiBlendInterpolator::asString();
 	return out.str();
 
diff --git a/src/obj/NiBone.cpp b/src/obj/NiBone.cpp
index d47a16f6..a776e341 100644
--- a/src/obj/NiBone.cpp
+++ b/src/obj/NiBone.cpp
@@ -62,7 +62,6 @@ std::string NiBone::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	return out.str();
 
diff --git a/src/obj/NiBoolInterpController.cpp b/src/obj/NiBoolInterpController.cpp
index 4fe9260c..74583695 100644
--- a/src/obj/NiBoolInterpController.cpp
+++ b/src/obj/NiBoolInterpController.cpp
@@ -62,7 +62,6 @@ std::string NiBoolInterpController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiSingleInterpController::asString();
 	return out.str();
 
diff --git a/src/obj/NiBoolInterpolator.cpp b/src/obj/NiBoolInterpolator.cpp
index 99d48433..fe9eae53 100644
--- a/src/obj/NiBoolInterpolator.cpp
+++ b/src/obj/NiBoolInterpolator.cpp
@@ -77,7 +77,6 @@ std::string NiBoolInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiKeyBasedInterpolator::asString();
 	out << "  Bool Value:  " << boolValue << endl;
 	out << "  Data:  " << data << endl;
diff --git a/src/obj/NiBoolTimelineInterpolator.cpp b/src/obj/NiBoolTimelineInterpolator.cpp
index 3e5d7bc5..51eda7a1 100644
--- a/src/obj/NiBoolTimelineInterpolator.cpp
+++ b/src/obj/NiBoolTimelineInterpolator.cpp
@@ -62,7 +62,6 @@ std::string NiBoolTimelineInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiBoolInterpolator::asString();
 	return out.str();
 
diff --git a/src/obj/NiBooleanExtraData.cpp b/src/obj/NiBooleanExtraData.cpp
index e31c672b..29abc48e 100644
--- a/src/obj/NiBooleanExtraData.cpp
+++ b/src/obj/NiBooleanExtraData.cpp
@@ -64,7 +64,6 @@ std::string NiBooleanExtraData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiExtraData::asString();
 	out << "  Boolean Data:  " << booleanData << endl;
 	return out.str();
diff --git a/src/obj/NiCamera.cpp b/src/obj/NiCamera.cpp
index 71c5b83b..9266f129 100644
--- a/src/obj/NiCamera.cpp
+++ b/src/obj/NiCamera.cpp
@@ -123,7 +123,6 @@ std::string NiCamera::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiAVObject::asString();
 	out << "  Unknown Short:  " << unknownShort << endl;
 	out << "  Frustum Left:  " << frustumLeft << endl;
diff --git a/src/obj/NiClod.cpp b/src/obj/NiClod.cpp
index ba9a3d15..524a9c7d 100644
--- a/src/obj/NiClod.cpp
+++ b/src/obj/NiClod.cpp
@@ -62,7 +62,6 @@ std::string NiClod::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTriBasedGeom::asString();
 	return out.str();
 
diff --git a/src/obj/NiClodSkinInstance.cpp b/src/obj/NiClodSkinInstance.cpp
index 7bf83670..55c45172 100644
--- a/src/obj/NiClodSkinInstance.cpp
+++ b/src/obj/NiClodSkinInstance.cpp
@@ -62,7 +62,6 @@ std::string NiClodSkinInstance::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiSkinInstance::asString();
 	return out.str();
 
diff --git a/src/obj/NiCollisionObject.cpp b/src/obj/NiCollisionObject.cpp
index 1faa29b5..2079c7c9 100644
--- a/src/obj/NiCollisionObject.cpp
+++ b/src/obj/NiCollisionObject.cpp
@@ -75,7 +75,6 @@ std::string NiCollisionObject::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	out << "  Target:  " << target << endl;
 	return out.str();
diff --git a/src/obj/NiColorExtraData.cpp b/src/obj/NiColorExtraData.cpp
index 37a9bde5..d84efd12 100644
--- a/src/obj/NiColorExtraData.cpp
+++ b/src/obj/NiColorExtraData.cpp
@@ -64,7 +64,6 @@ std::string NiColorExtraData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiExtraData::asString();
 	out << "  Data:  " << data << endl;
 	return out.str();
diff --git a/src/obj/NiControllerSequence.cpp b/src/obj/NiControllerSequence.cpp
index 4ad5d8f3..43312cf9 100644
--- a/src/obj/NiControllerSequence.cpp
+++ b/src/obj/NiControllerSequence.cpp
@@ -171,7 +171,6 @@ std::string NiControllerSequence::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiSequence::asString();
 	out << "  Weight:  " << weight << endl;
 	out << "  Text Keys:  " << textKeys << endl;
diff --git a/src/obj/NiDirectionalLight.cpp b/src/obj/NiDirectionalLight.cpp
index 7ba82352..87e62b88 100644
--- a/src/obj/NiDirectionalLight.cpp
+++ b/src/obj/NiDirectionalLight.cpp
@@ -62,7 +62,6 @@ std::string NiDirectionalLight::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiLight::asString();
 	return out.str();
 
diff --git a/src/obj/NiDitherProperty.cpp b/src/obj/NiDitherProperty.cpp
index 5dca14b1..989134ce 100644
--- a/src/obj/NiDitherProperty.cpp
+++ b/src/obj/NiDitherProperty.cpp
@@ -64,7 +64,6 @@ std::string NiDitherProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiProperty::asString();
 	out << "  Flags:  " << flags << endl;
 	return out.str();
diff --git a/src/obj/NiEnvMappedTriShapeData.cpp b/src/obj/NiEnvMappedTriShapeData.cpp
index 2bc069ad..736d093f 100644
--- a/src/obj/NiEnvMappedTriShapeData.cpp
+++ b/src/obj/NiEnvMappedTriShapeData.cpp
@@ -70,7 +70,6 @@ std::string NiEnvMappedTriShapeData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTriShapeData::asString();
 	return out.str();
 
diff --git a/src/obj/NiExtraData.cpp b/src/obj/NiExtraData.cpp
index ce782b4b..2f5e6068 100644
--- a/src/obj/NiExtraData.cpp
+++ b/src/obj/NiExtraData.cpp
@@ -84,7 +84,6 @@ std::string NiExtraData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	out << "  Name:  " << name << endl;
 	out << "  Next Extra Data:  " << nextExtraData << endl;
diff --git a/src/obj/NiExtraDataController.cpp b/src/obj/NiExtraDataController.cpp
index 21ed903b..93034f87 100644
--- a/src/obj/NiExtraDataController.cpp
+++ b/src/obj/NiExtraDataController.cpp
@@ -62,7 +62,6 @@ std::string NiExtraDataController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiSingleInterpController::asString();
 	return out.str();
 
diff --git a/src/obj/NiFloatExtraData.cpp b/src/obj/NiFloatExtraData.cpp
index 67a327d2..be12517f 100644
--- a/src/obj/NiFloatExtraData.cpp
+++ b/src/obj/NiFloatExtraData.cpp
@@ -64,7 +64,6 @@ std::string NiFloatExtraData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiExtraData::asString();
 	out << "  Float Data:  " << floatData << endl;
 	return out.str();
diff --git a/src/obj/NiFloatInterpController.cpp b/src/obj/NiFloatInterpController.cpp
index 5c01c81c..bbbb63c7 100644
--- a/src/obj/NiFloatInterpController.cpp
+++ b/src/obj/NiFloatInterpController.cpp
@@ -62,7 +62,6 @@ std::string NiFloatInterpController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiSingleInterpController::asString();
 	return out.str();
 
diff --git a/src/obj/NiFloatInterpolator.cpp b/src/obj/NiFloatInterpolator.cpp
index bfe9b97f..5a387e0d 100644
--- a/src/obj/NiFloatInterpolator.cpp
+++ b/src/obj/NiFloatInterpolator.cpp
@@ -77,7 +77,6 @@ std::string NiFloatInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiKeyBasedInterpolator::asString();
 	out << "  Float Value:  " << floatValue << endl;
 	out << "  Data:  " << data << endl;
diff --git a/src/obj/NiFogProperty.cpp b/src/obj/NiFogProperty.cpp
index 95b5ea06..44342c79 100644
--- a/src/obj/NiFogProperty.cpp
+++ b/src/obj/NiFogProperty.cpp
@@ -68,7 +68,6 @@ std::string NiFogProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiProperty::asString();
 	out << "  Flags:  " << flags << endl;
 	out << "  Fog Depth:  " << fogDepth << endl;
diff --git a/src/obj/NiGravity.cpp b/src/obj/NiGravity.cpp
index 5f3de5a2..6672275f 100644
--- a/src/obj/NiGravity.cpp
+++ b/src/obj/NiGravity.cpp
@@ -76,7 +76,6 @@ std::string NiGravity::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticleModifier::asString();
 	out << "  Unknown Float 1:  " << unknownFloat1 << endl;
 	out << "  Force:  " << force << endl;
diff --git a/src/obj/NiImage.cpp b/src/obj/NiImage.cpp
index f46bea2c..789f1e33 100644
--- a/src/obj/NiImage.cpp
+++ b/src/obj/NiImage.cpp
@@ -95,7 +95,6 @@ std::string NiImage::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	out << "  External:  " << external << endl;
 	if ( (external != 0) ) {
diff --git a/src/obj/NiIntegerExtraData.cpp b/src/obj/NiIntegerExtraData.cpp
index 90c62554..c4eb46f7 100644
--- a/src/obj/NiIntegerExtraData.cpp
+++ b/src/obj/NiIntegerExtraData.cpp
@@ -64,7 +64,6 @@ std::string NiIntegerExtraData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiExtraData::asString();
 	out << "  Integer Data:  " << integerData << endl;
 	return out.str();
diff --git a/src/obj/NiInterpController.cpp b/src/obj/NiInterpController.cpp
index 58e68f9e..9e3ecd83 100644
--- a/src/obj/NiInterpController.cpp
+++ b/src/obj/NiInterpController.cpp
@@ -62,7 +62,6 @@ std::string NiInterpController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTimeController::asString();
 	return out.str();
 
diff --git a/src/obj/NiInterpolator.cpp b/src/obj/NiInterpolator.cpp
index ac83d445..6ae193c1 100644
--- a/src/obj/NiInterpolator.cpp
+++ b/src/obj/NiInterpolator.cpp
@@ -62,7 +62,6 @@ std::string NiInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	return out.str();
 
diff --git a/src/obj/NiKeyBasedInterpolator.cpp b/src/obj/NiKeyBasedInterpolator.cpp
index b43ed425..7db8b02b 100644
--- a/src/obj/NiKeyBasedInterpolator.cpp
+++ b/src/obj/NiKeyBasedInterpolator.cpp
@@ -62,7 +62,6 @@ std::string NiKeyBasedInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiInterpolator::asString();
 	return out.str();
 
diff --git a/src/obj/NiKeyframeController.cpp b/src/obj/NiKeyframeController.cpp
index 6ad64629..4ed0bfeb 100644
--- a/src/obj/NiKeyframeController.cpp
+++ b/src/obj/NiKeyframeController.cpp
@@ -79,7 +79,6 @@ std::string NiKeyframeController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiSingleInterpController::asString();
 	out << "  Data:  " << data << endl;
 	return out.str();
diff --git a/src/obj/NiLODData.cpp b/src/obj/NiLODData.cpp
index 8629238f..ab2a8e4f 100644
--- a/src/obj/NiLODData.cpp
+++ b/src/obj/NiLODData.cpp
@@ -62,7 +62,6 @@ std::string NiLODData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	return out.str();
 
diff --git a/src/obj/NiLight.cpp b/src/obj/NiLight.cpp
index 9addbaaa..2a5ef84c 100644
--- a/src/obj/NiLight.cpp
+++ b/src/obj/NiLight.cpp
@@ -70,7 +70,6 @@ std::string NiLight::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiDynamicEffect::asString();
 	out << "  Dimmer:  " << dimmer << endl;
 	out << "  Ambient Color:  " << ambientColor << endl;
diff --git a/src/obj/NiLightColorController.cpp b/src/obj/NiLightColorController.cpp
index ab8fe2e5..bc98e45b 100644
--- a/src/obj/NiLightColorController.cpp
+++ b/src/obj/NiLightColorController.cpp
@@ -62,7 +62,6 @@ std::string NiLightColorController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPoint3InterpController::asString();
 	return out.str();
 
diff --git a/src/obj/NiLightDimmerController.cpp b/src/obj/NiLightDimmerController.cpp
index b0d81957..67cda189 100644
--- a/src/obj/NiLightDimmerController.cpp
+++ b/src/obj/NiLightDimmerController.cpp
@@ -62,7 +62,6 @@ std::string NiLightDimmerController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiFloatInterpController::asString();
 	return out.str();
 
diff --git a/src/obj/NiLightIntensityController.cpp b/src/obj/NiLightIntensityController.cpp
index 25a26373..7c08cc5d 100644
--- a/src/obj/NiLightIntensityController.cpp
+++ b/src/obj/NiLightIntensityController.cpp
@@ -70,7 +70,6 @@ std::string NiLightIntensityController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiFloatInterpController::asString();
 	return out.str();
 
diff --git a/src/obj/NiLines.cpp b/src/obj/NiLines.cpp
index ec573466..3a03c752 100644
--- a/src/obj/NiLines.cpp
+++ b/src/obj/NiLines.cpp
@@ -70,7 +70,6 @@ std::string NiLines::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTriBasedGeom::asString();
 	return out.str();
 
diff --git a/src/obj/NiLookAtController.cpp b/src/obj/NiLookAtController.cpp
index 36a33b76..298b32bb 100644
--- a/src/obj/NiLookAtController.cpp
+++ b/src/obj/NiLookAtController.cpp
@@ -81,7 +81,6 @@ std::string NiLookAtController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTimeController::asString();
 	out << "  Unknown1:  " << unknown1 << endl;
 	out << "  Look At Node:  " << lookAtNode << endl;
diff --git a/src/obj/NiLookAtInterpolator.cpp b/src/obj/NiLookAtInterpolator.cpp
index d2fdae59..598d7648 100644
--- a/src/obj/NiLookAtInterpolator.cpp
+++ b/src/obj/NiLookAtInterpolator.cpp
@@ -120,7 +120,6 @@ std::string NiLookAtInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiInterpolator::asString();
 	out << "  Unknown Short:  " << unknownShort << endl;
 	out << "  Look At:  " << lookAt << endl;
diff --git a/src/obj/NiMaterialColorController.cpp b/src/obj/NiMaterialColorController.cpp
index 5a10488d..2f32e18f 100644
--- a/src/obj/NiMaterialColorController.cpp
+++ b/src/obj/NiMaterialColorController.cpp
@@ -62,7 +62,6 @@ std::string NiMaterialColorController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPoint3InterpController::asString();
 	return out.str();
 
diff --git a/src/obj/NiMaterialProperty.cpp b/src/obj/NiMaterialProperty.cpp
index a17fe96a..b0480c2f 100644
--- a/src/obj/NiMaterialProperty.cpp
+++ b/src/obj/NiMaterialProperty.cpp
@@ -90,7 +90,6 @@ std::string NiMaterialProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiProperty::asString();
 	out << "  Flags:  " << flags << endl;
 	out << "  Ambient Color:  " << ambientColor << endl;
diff --git a/src/obj/NiMeshParticleSystem.cpp b/src/obj/NiMeshParticleSystem.cpp
index 69b88810..c631687a 100644
--- a/src/obj/NiMeshParticleSystem.cpp
+++ b/src/obj/NiMeshParticleSystem.cpp
@@ -62,7 +62,6 @@ std::string NiMeshParticleSystem::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticleSystem::asString();
 	return out.str();
 
diff --git a/src/obj/NiMorphController.cpp b/src/obj/NiMorphController.cpp
index 395aa6dd..a5a5fdd3 100644
--- a/src/obj/NiMorphController.cpp
+++ b/src/obj/NiMorphController.cpp
@@ -70,7 +70,6 @@ std::string NiMorphController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiInterpController::asString();
 	return out.str();
 
diff --git a/src/obj/NiMorpherController.cpp b/src/obj/NiMorpherController.cpp
index 8301877c..334ba53b 100644
--- a/src/obj/NiMorpherController.cpp
+++ b/src/obj/NiMorpherController.cpp
@@ -83,7 +83,6 @@ std::string NiMorpherController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiInterpController::asString();
 	out << "  Data:  " << data << endl;
 	return out.str();
diff --git a/src/obj/NiObject.cpp b/src/obj/NiObject.cpp
index 0d8e075d..c92bfe4b 100644
--- a/src/obj/NiObject.cpp
+++ b/src/obj/NiObject.cpp
@@ -66,7 +66,6 @@ std::string NiObject::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	return out.str();
 
 	//--BEGIN POST-STRING CUSTOM CODE--//
diff --git a/src/obj/NiPSysAgeDeathModifier.cpp b/src/obj/NiPSysAgeDeathModifier.cpp
index e154697c..64793139 100644
--- a/src/obj/NiPSysAgeDeathModifier.cpp
+++ b/src/obj/NiPSysAgeDeathModifier.cpp
@@ -77,7 +77,6 @@ std::string NiPSysAgeDeathModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Spawn on Death:  " << spawnOnDeath << endl;
 	out << "  Spawn Modifier:  " << spawnModifier << endl;
diff --git a/src/obj/NiPSysAirFieldModifier.cpp b/src/obj/NiPSysAirFieldModifier.cpp
index cc64ae06..b422e141 100644
--- a/src/obj/NiPSysAirFieldModifier.cpp
+++ b/src/obj/NiPSysAirFieldModifier.cpp
@@ -84,7 +84,6 @@ std::string NiPSysAirFieldModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysFieldModifier::asString();
 	out << "  Direction:  " << direction << endl;
 	out << "  Unknown Float 2:  " << unknownFloat2 << endl;
diff --git a/src/obj/NiPSysBombModifier.cpp b/src/obj/NiPSysBombModifier.cpp
index b169f346..ecddf1ea 100644
--- a/src/obj/NiPSysBombModifier.cpp
+++ b/src/obj/NiPSysBombModifier.cpp
@@ -85,7 +85,6 @@ std::string NiPSysBombModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Bomb Object:  " << bombObject << endl;
 	out << "  Bomb Axis:  " << bombAxis << endl;
diff --git a/src/obj/NiPSysBoundUpdateModifier.cpp b/src/obj/NiPSysBoundUpdateModifier.cpp
index 9d926d33..427a9665 100644
--- a/src/obj/NiPSysBoundUpdateModifier.cpp
+++ b/src/obj/NiPSysBoundUpdateModifier.cpp
@@ -64,7 +64,6 @@ std::string NiPSysBoundUpdateModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Update Skip:  " << updateSkip << endl;
 	return out.str();
diff --git a/src/obj/NiPSysBoxEmitter.cpp b/src/obj/NiPSysBoxEmitter.cpp
index fedc3fe6..3af0cf4e 100644
--- a/src/obj/NiPSysBoxEmitter.cpp
+++ b/src/obj/NiPSysBoxEmitter.cpp
@@ -68,7 +68,6 @@ std::string NiPSysBoxEmitter::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysVolumeEmitter::asString();
 	out << "  Width:  " << width << endl;
 	out << "  Height:  " << height << endl;
diff --git a/src/obj/NiPSysCollider.cpp b/src/obj/NiPSysCollider.cpp
index cf88ff11..6c1c123b 100644
--- a/src/obj/NiPSysCollider.cpp
+++ b/src/obj/NiPSysCollider.cpp
@@ -116,7 +116,6 @@ std::string NiPSysCollider::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	out << "  Bounce:  " << bounce << endl;
 	out << "  Spawn on Collide:  " << spawnOnCollide << endl;
diff --git a/src/obj/NiPSysColliderManager.cpp b/src/obj/NiPSysColliderManager.cpp
index f98c95b7..e53732e9 100644
--- a/src/obj/NiPSysColliderManager.cpp
+++ b/src/obj/NiPSysColliderManager.cpp
@@ -75,7 +75,6 @@ std::string NiPSysColliderManager::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Collider:  " << collider << endl;
 	return out.str();
diff --git a/src/obj/NiPSysColorModifier.cpp b/src/obj/NiPSysColorModifier.cpp
index a07c63c2..67cf1b5b 100644
--- a/src/obj/NiPSysColorModifier.cpp
+++ b/src/obj/NiPSysColorModifier.cpp
@@ -75,7 +75,6 @@ std::string NiPSysColorModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Data:  " << data << endl;
 	return out.str();
diff --git a/src/obj/NiPSysCylinderEmitter.cpp b/src/obj/NiPSysCylinderEmitter.cpp
index cb501858..6ba35a74 100644
--- a/src/obj/NiPSysCylinderEmitter.cpp
+++ b/src/obj/NiPSysCylinderEmitter.cpp
@@ -66,7 +66,6 @@ std::string NiPSysCylinderEmitter::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysVolumeEmitter::asString();
 	out << "  Radius:  " << radius << endl;
 	out << "  Height:  " << height << endl;
diff --git a/src/obj/NiPSysDragFieldModifier.cpp b/src/obj/NiPSysDragFieldModifier.cpp
index 360e6a7e..e22eec5c 100644
--- a/src/obj/NiPSysDragFieldModifier.cpp
+++ b/src/obj/NiPSysDragFieldModifier.cpp
@@ -74,7 +74,6 @@ std::string NiPSysDragFieldModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysFieldModifier::asString();
 	out << "  Use Direction?:  " << useDirection_ << endl;
 	out << "  Direction:  " << direction << endl;
diff --git a/src/obj/NiPSysDragModifier.cpp b/src/obj/NiPSysDragModifier.cpp
index 67e7cf4d..7ec5101a 100644
--- a/src/obj/NiPSysDragModifier.cpp
+++ b/src/obj/NiPSysDragModifier.cpp
@@ -83,7 +83,6 @@ std::string NiPSysDragModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Parent:  " << parent << endl;
 	out << "  Drag Axis:  " << dragAxis << endl;
diff --git a/src/obj/NiPSysEmitter.cpp b/src/obj/NiPSysEmitter.cpp
index 8204f39c..ca6f106e 100644
--- a/src/obj/NiPSysEmitter.cpp
+++ b/src/obj/NiPSysEmitter.cpp
@@ -88,7 +88,6 @@ std::string NiPSysEmitter::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Speed:  " << speed << endl;
 	out << "  Speed Variation:  " << speedVariation << endl;
diff --git a/src/obj/NiPSysEmitterCtlr.cpp b/src/obj/NiPSysEmitterCtlr.cpp
index 8d741142..72adf054 100644
--- a/src/obj/NiPSysEmitterCtlr.cpp
+++ b/src/obj/NiPSysEmitterCtlr.cpp
@@ -95,7 +95,6 @@ std::string NiPSysEmitterCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifierCtlr::asString();
 	out << "  Data:  " << data << endl;
 	out << "  Visibility Interpolator:  " << visibilityInterpolator << endl;
diff --git a/src/obj/NiPSysEmitterDeclinationCtlr.cpp b/src/obj/NiPSysEmitterDeclinationCtlr.cpp
index d40505ae..6f36a1c0 100644
--- a/src/obj/NiPSysEmitterDeclinationCtlr.cpp
+++ b/src/obj/NiPSysEmitterDeclinationCtlr.cpp
@@ -62,7 +62,6 @@ std::string NiPSysEmitterDeclinationCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifierFloatCtlr::asString();
 	return out.str();
 
diff --git a/src/obj/NiPSysEmitterDeclinationVarCtlr.cpp b/src/obj/NiPSysEmitterDeclinationVarCtlr.cpp
index 469130ee..d7d761d9 100644
--- a/src/obj/NiPSysEmitterDeclinationVarCtlr.cpp
+++ b/src/obj/NiPSysEmitterDeclinationVarCtlr.cpp
@@ -62,7 +62,6 @@ std::string NiPSysEmitterDeclinationVarCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifierFloatCtlr::asString();
 	return out.str();
 
diff --git a/src/obj/NiPSysEmitterInitialRadiusCtlr.cpp b/src/obj/NiPSysEmitterInitialRadiusCtlr.cpp
index b73b90fe..d7cc9dbc 100644
--- a/src/obj/NiPSysEmitterInitialRadiusCtlr.cpp
+++ b/src/obj/NiPSysEmitterInitialRadiusCtlr.cpp
@@ -62,7 +62,6 @@ std::string NiPSysEmitterInitialRadiusCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifierFloatCtlr::asString();
 	return out.str();
 
diff --git a/src/obj/NiPSysEmitterLifeSpanCtlr.cpp b/src/obj/NiPSysEmitterLifeSpanCtlr.cpp
index 333c86cc..5d6dcf7e 100644
--- a/src/obj/NiPSysEmitterLifeSpanCtlr.cpp
+++ b/src/obj/NiPSysEmitterLifeSpanCtlr.cpp
@@ -62,7 +62,6 @@ std::string NiPSysEmitterLifeSpanCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifierFloatCtlr::asString();
 	return out.str();
 
diff --git a/src/obj/NiPSysEmitterSpeedCtlr.cpp b/src/obj/NiPSysEmitterSpeedCtlr.cpp
index 31865a78..6cd20a4b 100644
--- a/src/obj/NiPSysEmitterSpeedCtlr.cpp
+++ b/src/obj/NiPSysEmitterSpeedCtlr.cpp
@@ -62,7 +62,6 @@ std::string NiPSysEmitterSpeedCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifierFloatCtlr::asString();
 	return out.str();
 
diff --git a/src/obj/NiPSysFieldMagnitudeCtlr.cpp b/src/obj/NiPSysFieldMagnitudeCtlr.cpp
index f09c0cdd..32317001 100644
--- a/src/obj/NiPSysFieldMagnitudeCtlr.cpp
+++ b/src/obj/NiPSysFieldMagnitudeCtlr.cpp
@@ -70,7 +70,6 @@ std::string NiPSysFieldMagnitudeCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifierFloatCtlr::asString();
 	return out.str();
 
diff --git a/src/obj/NiPSysFieldModifier.cpp b/src/obj/NiPSysFieldModifier.cpp
index 31d03f7d..480b4d0f 100644
--- a/src/obj/NiPSysFieldModifier.cpp
+++ b/src/obj/NiPSysFieldModifier.cpp
@@ -91,7 +91,6 @@ std::string NiPSysFieldModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Field Object:  " << fieldObject << endl;
 	out << "  Magnitude:  " << magnitude << endl;
diff --git a/src/obj/NiPSysGravityFieldModifier.cpp b/src/obj/NiPSysGravityFieldModifier.cpp
index 872976b1..c6ebba70 100644
--- a/src/obj/NiPSysGravityFieldModifier.cpp
+++ b/src/obj/NiPSysGravityFieldModifier.cpp
@@ -72,7 +72,6 @@ std::string NiPSysGravityFieldModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysFieldModifier::asString();
 	out << "  Direction:  " << direction << endl;
 	return out.str();
diff --git a/src/obj/NiPSysGravityModifier.cpp b/src/obj/NiPSysGravityModifier.cpp
index 7ae2420a..bf892431 100644
--- a/src/obj/NiPSysGravityModifier.cpp
+++ b/src/obj/NiPSysGravityModifier.cpp
@@ -93,7 +93,6 @@ std::string NiPSysGravityModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Gravity Object:  " << gravityObject << endl;
 	out << "  Gravity Axis:  " << gravityAxis << endl;
diff --git a/src/obj/NiPSysGravityStrengthCtlr.cpp b/src/obj/NiPSysGravityStrengthCtlr.cpp
index df904c7c..f5cc5346 100644
--- a/src/obj/NiPSysGravityStrengthCtlr.cpp
+++ b/src/obj/NiPSysGravityStrengthCtlr.cpp
@@ -62,7 +62,6 @@ std::string NiPSysGravityStrengthCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifierFloatCtlr::asString();
 	return out.str();
 
diff --git a/src/obj/NiPSysGrowFadeModifier.cpp b/src/obj/NiPSysGrowFadeModifier.cpp
index 79b325ca..f7bf40ed 100644
--- a/src/obj/NiPSysGrowFadeModifier.cpp
+++ b/src/obj/NiPSysGrowFadeModifier.cpp
@@ -76,7 +76,6 @@ std::string NiPSysGrowFadeModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Grow Time:  " << growTime << endl;
 	out << "  Grow Generation:  " << growGeneration << endl;
diff --git a/src/obj/NiPSysModifier.cpp b/src/obj/NiPSysModifier.cpp
index cc91f987..238395a7 100644
--- a/src/obj/NiPSysModifier.cpp
+++ b/src/obj/NiPSysModifier.cpp
@@ -81,7 +81,6 @@ std::string NiPSysModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	out << "  Name:  " << name << endl;
 	out << "  Order:  " << order << endl;
diff --git a/src/obj/NiPSysModifierActiveCtlr.cpp b/src/obj/NiPSysModifierActiveCtlr.cpp
index 69caadc4..9482c8c1 100644
--- a/src/obj/NiPSysModifierActiveCtlr.cpp
+++ b/src/obj/NiPSysModifierActiveCtlr.cpp
@@ -79,7 +79,6 @@ std::string NiPSysModifierActiveCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifierBoolCtlr::asString();
 	out << "  Data:  " << data << endl;
 	return out.str();
diff --git a/src/obj/NiPSysModifierBoolCtlr.cpp b/src/obj/NiPSysModifierBoolCtlr.cpp
index df793e6c..82b04874 100644
--- a/src/obj/NiPSysModifierBoolCtlr.cpp
+++ b/src/obj/NiPSysModifierBoolCtlr.cpp
@@ -62,7 +62,6 @@ std::string NiPSysModifierBoolCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifierCtlr::asString();
 	return out.str();
 
diff --git a/src/obj/NiPSysModifierCtlr.cpp b/src/obj/NiPSysModifierCtlr.cpp
index e9239a6e..374b48fd 100644
--- a/src/obj/NiPSysModifierCtlr.cpp
+++ b/src/obj/NiPSysModifierCtlr.cpp
@@ -64,7 +64,6 @@ std::string NiPSysModifierCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiSingleInterpController::asString();
 	out << "  Modifier Name:  " << modifierName << endl;
 	return out.str();
diff --git a/src/obj/NiPSysModifierFloatCtlr.cpp b/src/obj/NiPSysModifierFloatCtlr.cpp
index 606227a0..2c1d9d3a 100644
--- a/src/obj/NiPSysModifierFloatCtlr.cpp
+++ b/src/obj/NiPSysModifierFloatCtlr.cpp
@@ -79,7 +79,6 @@ std::string NiPSysModifierFloatCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifierCtlr::asString();
 	out << "  Data:  " << data << endl;
 	return out.str();
diff --git a/src/obj/NiPSysPlanarCollider.cpp b/src/obj/NiPSysPlanarCollider.cpp
index e6fb9266..0a9d4cb5 100644
--- a/src/obj/NiPSysPlanarCollider.cpp
+++ b/src/obj/NiPSysPlanarCollider.cpp
@@ -70,7 +70,6 @@ std::string NiPSysPlanarCollider::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysCollider::asString();
 	out << "  Width:  " << width << endl;
 	out << "  Height:  " << height << endl;
diff --git a/src/obj/NiPSysPositionModifier.cpp b/src/obj/NiPSysPositionModifier.cpp
index 5a0499e8..97bce9af 100644
--- a/src/obj/NiPSysPositionModifier.cpp
+++ b/src/obj/NiPSysPositionModifier.cpp
@@ -62,7 +62,6 @@ std::string NiPSysPositionModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	return out.str();
 
diff --git a/src/obj/NiPSysResetOnLoopCtlr.cpp b/src/obj/NiPSysResetOnLoopCtlr.cpp
index c663afdf..adaa00c7 100644
--- a/src/obj/NiPSysResetOnLoopCtlr.cpp
+++ b/src/obj/NiPSysResetOnLoopCtlr.cpp
@@ -62,7 +62,6 @@ std::string NiPSysResetOnLoopCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTimeController::asString();
 	return out.str();
 
diff --git a/src/obj/NiPSysRotationModifier.cpp b/src/obj/NiPSysRotationModifier.cpp
index fab965f5..30276c3c 100644
--- a/src/obj/NiPSysRotationModifier.cpp
+++ b/src/obj/NiPSysRotationModifier.cpp
@@ -80,7 +80,6 @@ std::string NiPSysRotationModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Initial Rotation Speed:  " << initialRotationSpeed << endl;
 	out << "  Initial Rotation Speed Variation:  " << initialRotationSpeedVariation << endl;
diff --git a/src/obj/NiPSysSpawnModifier.cpp b/src/obj/NiPSysSpawnModifier.cpp
index 96d2f483..719e49a3 100644
--- a/src/obj/NiPSysSpawnModifier.cpp
+++ b/src/obj/NiPSysSpawnModifier.cpp
@@ -84,7 +84,6 @@ std::string NiPSysSpawnModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysModifier::asString();
 	out << "  Num Spawn Generations:  " << numSpawnGenerations << endl;
 	out << "  Percentage Spawned:  " << percentageSpawned << endl;
diff --git a/src/obj/NiPSysSphereEmitter.cpp b/src/obj/NiPSysSphereEmitter.cpp
index fa1dd596..c22fe997 100644
--- a/src/obj/NiPSysSphereEmitter.cpp
+++ b/src/obj/NiPSysSphereEmitter.cpp
@@ -64,7 +64,6 @@ std::string NiPSysSphereEmitter::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysVolumeEmitter::asString();
 	out << "  Radius:  " << radius << endl;
 	return out.str();
diff --git a/src/obj/NiPSysSphericalCollider.cpp b/src/obj/NiPSysSphericalCollider.cpp
index a565c333..2e262a6b 100644
--- a/src/obj/NiPSysSphericalCollider.cpp
+++ b/src/obj/NiPSysSphericalCollider.cpp
@@ -64,7 +64,6 @@ std::string NiPSysSphericalCollider::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysCollider::asString();
 	out << "  Radius:  " << radius << endl;
 	return out.str();
diff --git a/src/obj/NiPSysTrailEmitter.cpp b/src/obj/NiPSysTrailEmitter.cpp
index 883cd644..f31d3a82 100644
--- a/src/obj/NiPSysTrailEmitter.cpp
+++ b/src/obj/NiPSysTrailEmitter.cpp
@@ -92,7 +92,6 @@ std::string NiPSysTrailEmitter::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysEmitter::asString();
 	out << "  Unknown Int 1:  " << unknownInt1 << endl;
 	out << "  Unknown Float 1:  " << unknownFloat1 << endl;
diff --git a/src/obj/NiPSysTurbulenceFieldModifier.cpp b/src/obj/NiPSysTurbulenceFieldModifier.cpp
index 54f56fdd..cb6901a7 100644
--- a/src/obj/NiPSysTurbulenceFieldModifier.cpp
+++ b/src/obj/NiPSysTurbulenceFieldModifier.cpp
@@ -72,7 +72,6 @@ std::string NiPSysTurbulenceFieldModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysFieldModifier::asString();
 	out << "  Unknown Float 2:  " << unknownFloat2 << endl;
 	return out.str();
diff --git a/src/obj/NiPSysUpdateCtlr.cpp b/src/obj/NiPSysUpdateCtlr.cpp
index 89f3c9ab..adb5ef12 100644
--- a/src/obj/NiPSysUpdateCtlr.cpp
+++ b/src/obj/NiPSysUpdateCtlr.cpp
@@ -62,7 +62,6 @@ std::string NiPSysUpdateCtlr::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTimeController::asString();
 	return out.str();
 
diff --git a/src/obj/NiPSysVolumeEmitter.cpp b/src/obj/NiPSysVolumeEmitter.cpp
index c22e5ca5..e19d892a 100644
--- a/src/obj/NiPSysVolumeEmitter.cpp
+++ b/src/obj/NiPSysVolumeEmitter.cpp
@@ -79,7 +79,6 @@ std::string NiPSysVolumeEmitter::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysEmitter::asString();
 	out << "  Emitter Object:  " << emitterObject << endl;
 	return out.str();
diff --git a/src/obj/NiPSysVortexFieldModifier.cpp b/src/obj/NiPSysVortexFieldModifier.cpp
index 79fd6254..cab38df2 100644
--- a/src/obj/NiPSysVortexFieldModifier.cpp
+++ b/src/obj/NiPSysVortexFieldModifier.cpp
@@ -72,7 +72,6 @@ std::string NiPSysVortexFieldModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPSysFieldModifier::asString();
 	out << "  Direction:  " << direction << endl;
 	return out.str();
diff --git a/src/obj/NiParticleBomb.cpp b/src/obj/NiParticleBomb.cpp
index f70217e6..5fe24807 100644
--- a/src/obj/NiParticleBomb.cpp
+++ b/src/obj/NiParticleBomb.cpp
@@ -82,7 +82,6 @@ std::string NiParticleBomb::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticleModifier::asString();
 	out << "  Decay?:  " << decay_ << endl;
 	out << "  Duration?:  " << duration_ << endl;
diff --git a/src/obj/NiParticleColorModifier.cpp b/src/obj/NiParticleColorModifier.cpp
index d02de0da..a6e77bc1 100644
--- a/src/obj/NiParticleColorModifier.cpp
+++ b/src/obj/NiParticleColorModifier.cpp
@@ -75,7 +75,6 @@ std::string NiParticleColorModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticleModifier::asString();
 	out << "  Color Data:  " << colorData << endl;
 	return out.str();
diff --git a/src/obj/NiParticleGrowFade.cpp b/src/obj/NiParticleGrowFade.cpp
index 2656f1cc..4c702167 100644
--- a/src/obj/NiParticleGrowFade.cpp
+++ b/src/obj/NiParticleGrowFade.cpp
@@ -66,7 +66,6 @@ std::string NiParticleGrowFade::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticleModifier::asString();
 	out << "  Grow:  " << grow << endl;
 	out << "  Fade:  " << fade << endl;
diff --git a/src/obj/NiParticleMeshes.cpp b/src/obj/NiParticleMeshes.cpp
index ee3b6b14..cd2aba39 100644
--- a/src/obj/NiParticleMeshes.cpp
+++ b/src/obj/NiParticleMeshes.cpp
@@ -62,7 +62,6 @@ std::string NiParticleMeshes::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticles::asString();
 	return out.str();
 
diff --git a/src/obj/NiParticleMeshesData.cpp b/src/obj/NiParticleMeshesData.cpp
index b85bf1a0..6be31720 100644
--- a/src/obj/NiParticleMeshesData.cpp
+++ b/src/obj/NiParticleMeshesData.cpp
@@ -75,7 +75,6 @@ std::string NiParticleMeshesData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiRotatingParticlesData::asString();
 	out << "  Unknown Link 2:  " << unknownLink2 << endl;
 	return out.str();
diff --git a/src/obj/NiParticleModifier.cpp b/src/obj/NiParticleModifier.cpp
index 23843056..dab1c7ea 100644
--- a/src/obj/NiParticleModifier.cpp
+++ b/src/obj/NiParticleModifier.cpp
@@ -98,7 +98,6 @@ std::string NiParticleModifier::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	out << "  Next Modifier:  " << nextModifier << endl;
 	out << "  Controller:  " << controller << endl;
diff --git a/src/obj/NiParticleRotation.cpp b/src/obj/NiParticleRotation.cpp
index 300eebe2..4c8e47e0 100644
--- a/src/obj/NiParticleRotation.cpp
+++ b/src/obj/NiParticleRotation.cpp
@@ -68,7 +68,6 @@ std::string NiParticleRotation::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticleModifier::asString();
 	out << "  Random Initial Axis?:  " << randomInitialAxis_ << endl;
 	out << "  Initial Axis?:  " << initialAxis_ << endl;
diff --git a/src/obj/NiParticles.cpp b/src/obj/NiParticles.cpp
index 68fafcb9..f0e16802 100644
--- a/src/obj/NiParticles.cpp
+++ b/src/obj/NiParticles.cpp
@@ -62,7 +62,6 @@ std::string NiParticles::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiGeometry::asString();
 	return out.str();
 
diff --git a/src/obj/NiPathController.cpp b/src/obj/NiPathController.cpp
index 92273d16..b39ddd6b 100644
--- a/src/obj/NiPathController.cpp
+++ b/src/obj/NiPathController.cpp
@@ -101,7 +101,6 @@ std::string NiPathController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTimeController::asString();
 	out << "  Unknown Short 2:  " << unknownShort2 << endl;
 	out << "  Unknown Int 1:  " << unknownInt1 << endl;
diff --git a/src/obj/NiPathInterpolator.cpp b/src/obj/NiPathInterpolator.cpp
index 63015d29..4167ff24 100644
--- a/src/obj/NiPathInterpolator.cpp
+++ b/src/obj/NiPathInterpolator.cpp
@@ -97,7 +97,6 @@ std::string NiPathInterpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiKeyBasedInterpolator::asString();
 	out << "  Unknown Short:  " << unknownShort << endl;
 	out << "  Unknown Int:  " << unknownInt << endl;
diff --git a/src/obj/NiPhysXTransformDest.cpp b/src/obj/NiPhysXTransformDest.cpp
index cac97e3a..a484c431 100644
--- a/src/obj/NiPhysXTransformDest.cpp
+++ b/src/obj/NiPhysXTransformDest.cpp
@@ -87,7 +87,6 @@ std::string NiPhysXTransformDest::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	out << "  Unknown Byte 1:  " << unknownByte1 << endl;
 	out << "  Unknown Byte 2:  " << unknownByte2 << endl;
diff --git a/src/obj/NiPlanarCollider.cpp b/src/obj/NiPlanarCollider.cpp
index 47e2274f..59766c9f 100644
--- a/src/obj/NiPlanarCollider.cpp
+++ b/src/obj/NiPlanarCollider.cpp
@@ -106,7 +106,6 @@ std::string NiPlanarCollider::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticleModifier::asString();
 	out << "  Unknown Short:  " << unknownShort << endl;
 	out << "  Unknown Float 1:  " << unknownFloat1 << endl;
diff --git a/src/obj/NiPoint3InterpController.cpp b/src/obj/NiPoint3InterpController.cpp
index 79ba0105..04a6ba06 100644
--- a/src/obj/NiPoint3InterpController.cpp
+++ b/src/obj/NiPoint3InterpController.cpp
@@ -85,7 +85,6 @@ std::string NiPoint3InterpController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiSingleInterpController::asString();
 	out << "  Target Color:  " << targetColor << endl;
 	out << "  Data:  " << data << endl;
diff --git a/src/obj/NiPoint3Interpolator.cpp b/src/obj/NiPoint3Interpolator.cpp
index 7b68466b..e24d0b07 100644
--- a/src/obj/NiPoint3Interpolator.cpp
+++ b/src/obj/NiPoint3Interpolator.cpp
@@ -77,7 +77,6 @@ std::string NiPoint3Interpolator::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiKeyBasedInterpolator::asString();
 	out << "  Point 3 Value:  " << point3Value << endl;
 	out << "  Data:  " << data << endl;
diff --git a/src/obj/NiPointLight.cpp b/src/obj/NiPointLight.cpp
index fb0a49a5..d10d5af1 100644
--- a/src/obj/NiPointLight.cpp
+++ b/src/obj/NiPointLight.cpp
@@ -68,7 +68,6 @@ std::string NiPointLight::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiLight::asString();
 	out << "  Constant Attenuation:  " << constantAttenuation << endl;
 	out << "  Linear Attenuation:  " << linearAttenuation << endl;
diff --git a/src/obj/NiProperty.cpp b/src/obj/NiProperty.cpp
index b5540364..b363d2d7 100644
--- a/src/obj/NiProperty.cpp
+++ b/src/obj/NiProperty.cpp
@@ -62,7 +62,6 @@ std::string NiProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObjectNET::asString();
 	return out.str();
 
diff --git a/src/obj/NiRollController.cpp b/src/obj/NiRollController.cpp
index 4dc79c7d..48a94c57 100644
--- a/src/obj/NiRollController.cpp
+++ b/src/obj/NiRollController.cpp
@@ -75,7 +75,6 @@ std::string NiRollController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiSingleInterpController::asString();
 	out << "  Data:  " << data << endl;
 	return out.str();
diff --git a/src/obj/NiRotatingParticles.cpp b/src/obj/NiRotatingParticles.cpp
index a2bbc9ea..f369c627 100644
--- a/src/obj/NiRotatingParticles.cpp
+++ b/src/obj/NiRotatingParticles.cpp
@@ -62,7 +62,6 @@ std::string NiRotatingParticles::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticles::asString();
 	return out.str();
 
diff --git a/src/obj/NiScreenElements.cpp b/src/obj/NiScreenElements.cpp
index 8f631ac0..3cb068f4 100644
--- a/src/obj/NiScreenElements.cpp
+++ b/src/obj/NiScreenElements.cpp
@@ -70,7 +70,6 @@ std::string NiScreenElements::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTriShape::asString();
 	return out.str();
 
diff --git a/src/obj/NiSequenceStreamHelper.cpp b/src/obj/NiSequenceStreamHelper.cpp
index f3e56aaf..55e01476 100644
--- a/src/obj/NiSequenceStreamHelper.cpp
+++ b/src/obj/NiSequenceStreamHelper.cpp
@@ -62,7 +62,6 @@ std::string NiSequenceStreamHelper::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObjectNET::asString();
 	return out.str();
 
diff --git a/src/obj/NiShadeProperty.cpp b/src/obj/NiShadeProperty.cpp
index 7820155a..ae352e2f 100644
--- a/src/obj/NiShadeProperty.cpp
+++ b/src/obj/NiShadeProperty.cpp
@@ -64,7 +64,6 @@ std::string NiShadeProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiProperty::asString();
 	out << "  Flags:  " << flags << endl;
 	return out.str();
diff --git a/src/obj/NiSingleInterpController.cpp b/src/obj/NiSingleInterpController.cpp
index 797289ab..9a9b6e23 100644
--- a/src/obj/NiSingleInterpController.cpp
+++ b/src/obj/NiSingleInterpController.cpp
@@ -80,7 +80,6 @@ std::string NiSingleInterpController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiInterpController::asString();
 	out << "  Interpolator:  " << interpolator << endl;
 	return out.str();
diff --git a/src/obj/NiSortAdjustNode.cpp b/src/obj/NiSortAdjustNode.cpp
index ea931b09..f53f972f 100644
--- a/src/obj/NiSortAdjustNode.cpp
+++ b/src/obj/NiSortAdjustNode.cpp
@@ -78,7 +78,6 @@ std::string NiSortAdjustNode::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	out << "  Sorting Mode:  " << sortingMode << endl;
 	out << "  Unknown Int 2:  " << unknownInt2 << endl;
diff --git a/src/obj/NiSourceCubeMap.cpp b/src/obj/NiSourceCubeMap.cpp
index c56041da..72e4add4 100644
--- a/src/obj/NiSourceCubeMap.cpp
+++ b/src/obj/NiSourceCubeMap.cpp
@@ -70,7 +70,6 @@ std::string NiSourceCubeMap::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiSourceTexture::asString();
 	return out.str();
 
diff --git a/src/obj/NiSourceTexture.cpp b/src/obj/NiSourceTexture.cpp
index e0da6670..c9c6846e 100644
--- a/src/obj/NiSourceTexture.cpp
+++ b/src/obj/NiSourceTexture.cpp
@@ -147,7 +147,6 @@ std::string NiSourceTexture::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTexture::asString();
 	out << "  Use External:  " << useExternal << endl;
 	if ( (useExternal == 1) ) {
diff --git a/src/obj/NiSpecularProperty.cpp b/src/obj/NiSpecularProperty.cpp
index b5306420..a23bf9e5 100644
--- a/src/obj/NiSpecularProperty.cpp
+++ b/src/obj/NiSpecularProperty.cpp
@@ -64,7 +64,6 @@ std::string NiSpecularProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiProperty::asString();
 	out << "  Flags:  " << flags << endl;
 	return out.str();
diff --git a/src/obj/NiSphericalCollider.cpp b/src/obj/NiSphericalCollider.cpp
index 2ab196f9..7649f734 100644
--- a/src/obj/NiSphericalCollider.cpp
+++ b/src/obj/NiSphericalCollider.cpp
@@ -84,7 +84,6 @@ std::string NiSphericalCollider::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiParticleModifier::asString();
 	out << "  Unknown Float 1:  " << unknownFloat1 << endl;
 	out << "  Unknown Short 1:  " << unknownShort1 << endl;
diff --git a/src/obj/NiSpotLight.cpp b/src/obj/NiSpotLight.cpp
index cc052b87..6aa0a85d 100644
--- a/src/obj/NiSpotLight.cpp
+++ b/src/obj/NiSpotLight.cpp
@@ -72,7 +72,6 @@ std::string NiSpotLight::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiPointLight::asString();
 	out << "  Cutoff Angle:  " << cutoffAngle << endl;
 	out << "  Unknown Float:  " << unknownFloat << endl;
diff --git a/src/obj/NiStencilProperty.cpp b/src/obj/NiStencilProperty.cpp
index af374027..530919f4 100644
--- a/src/obj/NiStencilProperty.cpp
+++ b/src/obj/NiStencilProperty.cpp
@@ -98,7 +98,6 @@ std::string NiStencilProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiProperty::asString();
 	out << "  Flags:  " << flags << endl;
 	out << "  Stencil Enabled:  " << stencilEnabled << endl;
diff --git a/src/obj/NiStringExtraData.cpp b/src/obj/NiStringExtraData.cpp
index e3545360..e71be7bd 100644
--- a/src/obj/NiStringExtraData.cpp
+++ b/src/obj/NiStringExtraData.cpp
@@ -70,7 +70,6 @@ std::string NiStringExtraData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiExtraData::asString();
 	out << "  Bytes Remaining:  " << bytesRemaining << endl;
 	out << "  String Data:  " << stringData << endl;
diff --git a/src/obj/NiStringPalette.cpp b/src/obj/NiStringPalette.cpp
index fc562f91..77ca5651 100644
--- a/src/obj/NiStringPalette.cpp
+++ b/src/obj/NiStringPalette.cpp
@@ -67,7 +67,6 @@ std::string NiStringPalette::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	out << "  Palette:  " << palette.palette << endl;
 	out << "  Length:  " << palette.length << endl;
diff --git a/src/obj/NiSwitchNode.cpp b/src/obj/NiSwitchNode.cpp
index 43a267b1..23037d8b 100644
--- a/src/obj/NiSwitchNode.cpp
+++ b/src/obj/NiSwitchNode.cpp
@@ -70,7 +70,6 @@ std::string NiSwitchNode::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	out << "  Unknown Flags 1:  " << unknownFlags1 << endl;
 	out << "  Unknown Int 1:  " << unknownInt1 << endl;
diff --git a/src/obj/NiTexture.cpp b/src/obj/NiTexture.cpp
index 85e9d7d0..08c585f7 100644
--- a/src/obj/NiTexture.cpp
+++ b/src/obj/NiTexture.cpp
@@ -62,7 +62,6 @@ std::string NiTexture::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObjectNET::asString();
 	return out.str();
 
diff --git a/src/obj/NiTextureEffect.cpp b/src/obj/NiTextureEffect.cpp
index 7b6309b4..9cd17fb2 100644
--- a/src/obj/NiTextureEffect.cpp
+++ b/src/obj/NiTextureEffect.cpp
@@ -127,7 +127,6 @@ std::string NiTextureEffect::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiDynamicEffect::asString();
 	out << "  Model Projection Matrix:  " << modelProjectionMatrix << endl;
 	out << "  Model Projection Transform:  " << modelProjectionTransform << endl;
diff --git a/src/obj/NiTextureModeProperty.cpp b/src/obj/NiTextureModeProperty.cpp
index 6b176385..bad41266 100644
--- a/src/obj/NiTextureModeProperty.cpp
+++ b/src/obj/NiTextureModeProperty.cpp
@@ -72,7 +72,6 @@ std::string NiTextureModeProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiProperty::asString();
 	out << "  Unknown Short:  " << unknownShort << endl;
 	out << "  PS2 L:  " << ps2L << endl;
diff --git a/src/obj/NiTextureProperty.cpp b/src/obj/NiTextureProperty.cpp
index 743252bf..ecd91dad 100644
--- a/src/obj/NiTextureProperty.cpp
+++ b/src/obj/NiTextureProperty.cpp
@@ -85,7 +85,6 @@ std::string NiTextureProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiProperty::asString();
 	out << "  Flags:  " << flags << endl;
 	out << "  Image:  " << image << endl;
diff --git a/src/obj/NiTextureTransformController.cpp b/src/obj/NiTextureTransformController.cpp
index 071c1e13..56db618b 100644
--- a/src/obj/NiTextureTransformController.cpp
+++ b/src/obj/NiTextureTransformController.cpp
@@ -86,7 +86,6 @@ std::string NiTextureTransformController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiFloatInterpController::asString();
 	out << "  Unknown2:  " << unknown2 << endl;
 	out << "  Texture Slot:  " << textureSlot << endl;
diff --git a/src/obj/NiTimeController.cpp b/src/obj/NiTimeController.cpp
index 45c83527..96a57256 100644
--- a/src/obj/NiTimeController.cpp
+++ b/src/obj/NiTimeController.cpp
@@ -106,7 +106,6 @@ std::string NiTimeController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	out << "  Next Controller:  " << nextController << endl;
 	out << "  Flags:  " << flags << endl;
diff --git a/src/obj/NiTransformController.cpp b/src/obj/NiTransformController.cpp
index 47d07dba..5dca0eb1 100644
--- a/src/obj/NiTransformController.cpp
+++ b/src/obj/NiTransformController.cpp
@@ -62,7 +62,6 @@ std::string NiTransformController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiKeyframeController::asString();
 	return out.str();
 
diff --git a/src/obj/NiTransformData.cpp b/src/obj/NiTransformData.cpp
index d5e03730..91520719 100644
--- a/src/obj/NiTransformData.cpp
+++ b/src/obj/NiTransformData.cpp
@@ -62,7 +62,6 @@ std::string NiTransformData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiKeyframeData::asString();
 	return out.str();
 
diff --git a/src/obj/NiTriBasedGeom.cpp b/src/obj/NiTriBasedGeom.cpp
index fceec6be..7191301f 100644
--- a/src/obj/NiTriBasedGeom.cpp
+++ b/src/obj/NiTriBasedGeom.cpp
@@ -67,7 +67,6 @@ std::string NiTriBasedGeom::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiGeometry::asString();
 	return out.str();
 
diff --git a/src/obj/NiTriBasedGeomData.cpp b/src/obj/NiTriBasedGeomData.cpp
index 2882b757..ffb197ab 100644
--- a/src/obj/NiTriBasedGeomData.cpp
+++ b/src/obj/NiTriBasedGeomData.cpp
@@ -64,7 +64,6 @@ std::string NiTriBasedGeomData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiGeometryData::asString();
 	out << "  Num Triangles:  " << numTriangles << endl;
 	return out.str();
diff --git a/src/obj/NiTriShape.cpp b/src/obj/NiTriShape.cpp
index 20d2b632..e1825f92 100644
--- a/src/obj/NiTriShape.cpp
+++ b/src/obj/NiTriShape.cpp
@@ -62,7 +62,6 @@ std::string NiTriShape::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTriBasedGeom::asString();
 	return out.str();
 
diff --git a/src/obj/NiTriStrips.cpp b/src/obj/NiTriStrips.cpp
index e2d74ac6..729a5abd 100644
--- a/src/obj/NiTriStrips.cpp
+++ b/src/obj/NiTriStrips.cpp
@@ -62,7 +62,6 @@ std::string NiTriStrips::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTriBasedGeom::asString();
 	return out.str();
 
diff --git a/src/obj/NiUVController.cpp b/src/obj/NiUVController.cpp
index 3b6b98c5..4a5b5d7b 100644
--- a/src/obj/NiUVController.cpp
+++ b/src/obj/NiUVController.cpp
@@ -77,7 +77,6 @@ std::string NiUVController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTimeController::asString();
 	out << "  Unknown Short:  " << unknownShort << endl;
 	out << "  Data:  " << data << endl;
diff --git a/src/obj/NiVectorExtraData.cpp b/src/obj/NiVectorExtraData.cpp
index 55ada710..f930d724 100644
--- a/src/obj/NiVectorExtraData.cpp
+++ b/src/obj/NiVectorExtraData.cpp
@@ -66,7 +66,6 @@ std::string NiVectorExtraData::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiExtraData::asString();
 	out << "  Vector Data:  " << vectorData << endl;
 	out << "  Unknown Float:  " << unknownFloat << endl;
diff --git a/src/obj/NiVertexColorProperty.cpp b/src/obj/NiVertexColorProperty.cpp
index b2cd6b69..167b4763 100644
--- a/src/obj/NiVertexColorProperty.cpp
+++ b/src/obj/NiVertexColorProperty.cpp
@@ -76,7 +76,6 @@ std::string NiVertexColorProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiProperty::asString();
 	out << "  Flags:  " << flags << endl;
 	out << "  Vertex Mode:  " << vertexMode << endl;
diff --git a/src/obj/NiVisController.cpp b/src/obj/NiVisController.cpp
index 77faebe7..766eafb1 100644
--- a/src/obj/NiVisController.cpp
+++ b/src/obj/NiVisController.cpp
@@ -79,7 +79,6 @@ std::string NiVisController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiBoolInterpController::asString();
 	out << "  Data:  " << data << endl;
 	return out.str();
diff --git a/src/obj/NiWireframeProperty.cpp b/src/obj/NiWireframeProperty.cpp
index 7a9e39c5..6c5a167a 100644
--- a/src/obj/NiWireframeProperty.cpp
+++ b/src/obj/NiWireframeProperty.cpp
@@ -64,7 +64,6 @@ std::string NiWireframeProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiProperty::asString();
 	out << "  Flags:  " << flags << endl;
 	return out.str();
diff --git a/src/obj/NiZBufferProperty.cpp b/src/obj/NiZBufferProperty.cpp
index 30598f06..e98e6ab4 100644
--- a/src/obj/NiZBufferProperty.cpp
+++ b/src/obj/NiZBufferProperty.cpp
@@ -70,7 +70,6 @@ std::string NiZBufferProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiProperty::asString();
 	out << "  Flags:  " << flags << endl;
 	out << "  Function:  " << function << endl;
diff --git a/src/obj/RootCollisionNode.cpp b/src/obj/RootCollisionNode.cpp
index 32098311..675d904e 100644
--- a/src/obj/RootCollisionNode.cpp
+++ b/src/obj/RootCollisionNode.cpp
@@ -62,7 +62,6 @@ std::string RootCollisionNode::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiNode::asString();
 	return out.str();
 
diff --git a/src/obj/SkyShaderProperty.cpp b/src/obj/SkyShaderProperty.cpp
index 407f23a8..73d496be 100644
--- a/src/obj/SkyShaderProperty.cpp
+++ b/src/obj/SkyShaderProperty.cpp
@@ -76,7 +76,6 @@ std::string SkyShaderProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << BSShaderProperty::asString();
 	out << "  Unknown Int 4:  " << unknownInt4 << endl;
 	out << "  File Name:  " << fileName << endl;
diff --git a/src/obj/TallGrassShaderProperty.cpp b/src/obj/TallGrassShaderProperty.cpp
index 829f1314..a5ba67b7 100644
--- a/src/obj/TallGrassShaderProperty.cpp
+++ b/src/obj/TallGrassShaderProperty.cpp
@@ -72,7 +72,6 @@ std::string TallGrassShaderProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << BSShaderProperty::asString();
 	out << "  File Name:  " << fileName << endl;
 	return out.str();
diff --git a/src/obj/TileShaderProperty.cpp b/src/obj/TileShaderProperty.cpp
index 9bb553cf..9f9e0760 100644
--- a/src/obj/TileShaderProperty.cpp
+++ b/src/obj/TileShaderProperty.cpp
@@ -72,7 +72,6 @@ std::string TileShaderProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << BSShaderLightingProperty::asString();
 	out << "  File Name:  " << fileName << endl;
 	return out.str();
diff --git a/src/obj/VolumetricFogShaderProperty.cpp b/src/obj/VolumetricFogShaderProperty.cpp
index c66450a7..df91f296 100644
--- a/src/obj/VolumetricFogShaderProperty.cpp
+++ b/src/obj/VolumetricFogShaderProperty.cpp
@@ -70,7 +70,6 @@ std::string VolumetricFogShaderProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << BSShaderProperty::asString();
 	return out.str();
 
diff --git a/src/obj/WaterShaderProperty.cpp b/src/obj/WaterShaderProperty.cpp
index c8328123..cf90ed87 100644
--- a/src/obj/WaterShaderProperty.cpp
+++ b/src/obj/WaterShaderProperty.cpp
@@ -70,7 +70,6 @@ std::string WaterShaderProperty::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << BSShaderProperty::asString();
 	return out.str();
 
diff --git a/src/obj/bhkBlendCollisionObject.cpp b/src/obj/bhkBlendCollisionObject.cpp
index c4cdcbc3..7ad78c36 100644
--- a/src/obj/bhkBlendCollisionObject.cpp
+++ b/src/obj/bhkBlendCollisionObject.cpp
@@ -66,7 +66,6 @@ std::string bhkBlendCollisionObject::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkCollisionObject::asString();
 	out << "  Unknown Float 1:  " << unknownFloat1 << endl;
 	out << "  Unknown Float 2:  " << unknownFloat2 << endl;
diff --git a/src/obj/bhkBlendController.cpp b/src/obj/bhkBlendController.cpp
index fdef90c3..685b5198 100644
--- a/src/obj/bhkBlendController.cpp
+++ b/src/obj/bhkBlendController.cpp
@@ -64,7 +64,6 @@ std::string bhkBlendController::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiTimeController::asString();
 	out << "  Unknown Int:  " << unknownInt << endl;
 	return out.str();
diff --git a/src/obj/bhkBvTreeShape.cpp b/src/obj/bhkBvTreeShape.cpp
index a291d279..821a403e 100644
--- a/src/obj/bhkBvTreeShape.cpp
+++ b/src/obj/bhkBvTreeShape.cpp
@@ -62,7 +62,6 @@ std::string bhkBvTreeShape::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkShape::asString();
 	return out.str();
 
diff --git a/src/obj/bhkCollisionObject.cpp b/src/obj/bhkCollisionObject.cpp
index 3635ddfe..fda0ea6e 100644
--- a/src/obj/bhkCollisionObject.cpp
+++ b/src/obj/bhkCollisionObject.cpp
@@ -62,7 +62,6 @@ std::string bhkCollisionObject::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkNiCollisionObject::asString();
 	return out.str();
 
diff --git a/src/obj/bhkConvexShape.cpp b/src/obj/bhkConvexShape.cpp
index 301472a5..f04c06e2 100644
--- a/src/obj/bhkConvexShape.cpp
+++ b/src/obj/bhkConvexShape.cpp
@@ -62,7 +62,6 @@ std::string bhkConvexShape::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkSphereRepShape::asString();
 	return out.str();
 
diff --git a/src/obj/bhkConvexTransformShape.cpp b/src/obj/bhkConvexTransformShape.cpp
index 8ff66658..54b05a1d 100644
--- a/src/obj/bhkConvexTransformShape.cpp
+++ b/src/obj/bhkConvexTransformShape.cpp
@@ -62,7 +62,6 @@ std::string bhkConvexTransformShape::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkTransformShape::asString();
 	return out.str();
 
diff --git a/src/obj/bhkEntity.cpp b/src/obj/bhkEntity.cpp
index 2291e4d2..139d2b69 100644
--- a/src/obj/bhkEntity.cpp
+++ b/src/obj/bhkEntity.cpp
@@ -62,7 +62,6 @@ std::string bhkEntity::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkWorldObject::asString();
 	return out.str();
 
diff --git a/src/obj/bhkHingeConstraint.cpp b/src/obj/bhkHingeConstraint.cpp
index dcf1f940..0f2fc2e1 100644
--- a/src/obj/bhkHingeConstraint.cpp
+++ b/src/obj/bhkHingeConstraint.cpp
@@ -111,7 +111,6 @@ std::string bhkHingeConstraint::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkConstraint::asString();
 	out << "  Pivot A:  " << hinge.pivotA << endl;
 	out << "  Perp2 Axle In A1:  " << hinge.perp2AxleInA1 << endl;
diff --git a/src/obj/bhkLimitedHingeConstraint.cpp b/src/obj/bhkLimitedHingeConstraint.cpp
index c251a27f..25c7b5b9 100644
--- a/src/obj/bhkLimitedHingeConstraint.cpp
+++ b/src/obj/bhkLimitedHingeConstraint.cpp
@@ -119,7 +119,6 @@ std::string bhkLimitedHingeConstraint::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkConstraint::asString();
 	out << "  Pivot A:  " << limitedHinge.pivotA << endl;
 	out << "  Axle A:  " << limitedHinge.axleA << endl;
diff --git a/src/obj/bhkLiquidAction.cpp b/src/obj/bhkLiquidAction.cpp
index 3bbc3832..f4f3df9e 100644
--- a/src/obj/bhkLiquidAction.cpp
+++ b/src/obj/bhkLiquidAction.cpp
@@ -84,7 +84,6 @@ std::string bhkLiquidAction::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkSerializable::asString();
 	out << "  Unknown Int 1:  " << unknownInt1 << endl;
 	out << "  Unknown Int 2:  " << unknownInt2 << endl;
diff --git a/src/obj/bhkMalleableConstraint.cpp b/src/obj/bhkMalleableConstraint.cpp
index 2f4c2b65..35dfedd4 100644
--- a/src/obj/bhkMalleableConstraint.cpp
+++ b/src/obj/bhkMalleableConstraint.cpp
@@ -229,7 +229,6 @@ std::string bhkMalleableConstraint::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkConstraint::asString();
 	out << "  Type:  " << type << endl;
 	out << "  Unknown Int 2:  " << unknownInt2 << endl;
diff --git a/src/obj/bhkNiCollisionObject.cpp b/src/obj/bhkNiCollisionObject.cpp
index 35e9a9a2..d967bc09 100644
--- a/src/obj/bhkNiCollisionObject.cpp
+++ b/src/obj/bhkNiCollisionObject.cpp
@@ -77,7 +77,6 @@ std::string bhkNiCollisionObject::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiCollisionObject::asString();
 	out << "  Flags:  " << flags << endl;
 	out << "  Body:  " << body << endl;
diff --git a/src/obj/bhkPCollisionObject.cpp b/src/obj/bhkPCollisionObject.cpp
index e6ea33ce..8c6960ca 100644
--- a/src/obj/bhkPCollisionObject.cpp
+++ b/src/obj/bhkPCollisionObject.cpp
@@ -62,7 +62,6 @@ std::string bhkPCollisionObject::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkNiCollisionObject::asString();
 	return out.str();
 
diff --git a/src/obj/bhkPhantom.cpp b/src/obj/bhkPhantom.cpp
index 51daa511..f4a30d53 100644
--- a/src/obj/bhkPhantom.cpp
+++ b/src/obj/bhkPhantom.cpp
@@ -62,7 +62,6 @@ std::string bhkPhantom::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkWorldObject::asString();
 	return out.str();
 
diff --git a/src/obj/bhkRagdollConstraint.cpp b/src/obj/bhkRagdollConstraint.cpp
index 711f7905..24841709 100644
--- a/src/obj/bhkRagdollConstraint.cpp
+++ b/src/obj/bhkRagdollConstraint.cpp
@@ -131,7 +131,6 @@ std::string bhkRagdollConstraint::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkConstraint::asString();
 	out << "  Pivot A:  " << ragdoll.pivotA << endl;
 	out << "  Plane A:  " << ragdoll.planeA << endl;
diff --git a/src/obj/bhkRefObject.cpp b/src/obj/bhkRefObject.cpp
index d09f5047..a112f3dd 100644
--- a/src/obj/bhkRefObject.cpp
+++ b/src/obj/bhkRefObject.cpp
@@ -62,7 +62,6 @@ std::string bhkRefObject::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << NiObject::asString();
 	return out.str();
 
diff --git a/src/obj/bhkRigidBodyT.cpp b/src/obj/bhkRigidBodyT.cpp
index ca45c480..e3c1c858 100644
--- a/src/obj/bhkRigidBodyT.cpp
+++ b/src/obj/bhkRigidBodyT.cpp
@@ -62,7 +62,6 @@ std::string bhkRigidBodyT::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkRigidBody::asString();
 	return out.str();
 
diff --git a/src/obj/bhkSPCollisionObject.cpp b/src/obj/bhkSPCollisionObject.cpp
index 4039f48b..070e322f 100644
--- a/src/obj/bhkSPCollisionObject.cpp
+++ b/src/obj/bhkSPCollisionObject.cpp
@@ -62,7 +62,6 @@ std::string bhkSPCollisionObject::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkPCollisionObject::asString();
 	return out.str();
 
diff --git a/src/obj/bhkSerializable.cpp b/src/obj/bhkSerializable.cpp
index 87028618..a69e0ca1 100644
--- a/src/obj/bhkSerializable.cpp
+++ b/src/obj/bhkSerializable.cpp
@@ -62,7 +62,6 @@ std::string bhkSerializable::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkRefObject::asString();
 	return out.str();
 
diff --git a/src/obj/bhkShape.cpp b/src/obj/bhkShape.cpp
index 24b524a4..05300a51 100644
--- a/src/obj/bhkShape.cpp
+++ b/src/obj/bhkShape.cpp
@@ -62,7 +62,6 @@ std::string bhkShape::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkSerializable::asString();
 	return out.str();
 
diff --git a/src/obj/bhkShapeCollection.cpp b/src/obj/bhkShapeCollection.cpp
index 9463a479..5d6cabb6 100644
--- a/src/obj/bhkShapeCollection.cpp
+++ b/src/obj/bhkShapeCollection.cpp
@@ -62,7 +62,6 @@ std::string bhkShapeCollection::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkShape::asString();
 	return out.str();
 
diff --git a/src/obj/bhkShapePhantom.cpp b/src/obj/bhkShapePhantom.cpp
index 223759dd..8f1a3453 100644
--- a/src/obj/bhkShapePhantom.cpp
+++ b/src/obj/bhkShapePhantom.cpp
@@ -62,7 +62,6 @@ std::string bhkShapePhantom::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkPhantom::asString();
 	return out.str();
 
diff --git a/src/obj/bhkSphereRepShape.cpp b/src/obj/bhkSphereRepShape.cpp
index 6a60878b..8e43bb72 100644
--- a/src/obj/bhkSphereRepShape.cpp
+++ b/src/obj/bhkSphereRepShape.cpp
@@ -67,7 +67,6 @@ std::string bhkSphereRepShape::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkShape::asString();
 	out << "  Material:  " << material << endl;
 	out << "  Radius:  " << radius << endl;
diff --git a/src/obj/bhkSphereShape.cpp b/src/obj/bhkSphereShape.cpp
index ef59048f..3ce9f122 100644
--- a/src/obj/bhkSphereShape.cpp
+++ b/src/obj/bhkSphereShape.cpp
@@ -63,7 +63,6 @@ std::string bhkSphereShape::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkConvexShape::asString();
 	return out.str();
 
diff --git a/src/obj/bhkStiffSpringConstraint.cpp b/src/obj/bhkStiffSpringConstraint.cpp
index 5e8dd328..d10d1608 100644
--- a/src/obj/bhkStiffSpringConstraint.cpp
+++ b/src/obj/bhkStiffSpringConstraint.cpp
@@ -68,7 +68,6 @@ std::string bhkStiffSpringConstraint::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkConstraint::asString();
 	out << "  Pivot A:  " << pivotA << endl;
 	out << "  Pivot B:  " << pivotB << endl;
diff --git a/src/obj/bhkWorldObject.cpp b/src/obj/bhkWorldObject.cpp
index ff982376..847f0944 100644
--- a/src/obj/bhkWorldObject.cpp
+++ b/src/obj/bhkWorldObject.cpp
@@ -81,7 +81,6 @@ std::string bhkWorldObject::asString( bool verbose ) const {
 	//--END CUSTOM CODE--//
 
 	stringstream out;
-	unsigned int array_output_count = 0;
 	out << bhkSerializable::asString();
 	out << "  Shape:  " << shape << endl;
 	out << "  Layer:  " << layer << endl;
-- 
GitLab