summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermodelpreview.cpp
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2011-09-12 14:51:22 -0400
committerNyx (Neal Orman) <nyx@lindenlab.com>2011-09-12 14:51:22 -0400
commitb56e4cf0e428187c5ed4037b843c05610ed0da2a (patch)
treef2f95840b0154e174635bbc80be4fbec4e2f2717 /indra/newview/llfloatermodelpreview.cpp
parent66aabf8a4f3b0701b677b07215cfc9e01630996d (diff)
BUILDFIX GCC fixing unused variable
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rwxr-xr-xindra/newview/llfloatermodelpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index 56d1fc49ee..55c4907a74 100755
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -2841,7 +2841,7 @@ void LLModelLoader::processElement( daeElement* element, bool& badElement )
//process children
daeTArray< daeSmartRef<daeElement> > children = element->getChildren();
int childCount = children.getCount();
- for (S32 i = 0; i < children.getCount(); i++)
+ for (S32 i = 0; i < childCount; i++)
{
processElement(children[i],badElement);
}