summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermodelpreview.cpp
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2010-12-14 14:54:05 -0500
committerNyx (Neal Orman) <nyx@lindenlab.com>2010-12-14 14:54:05 -0500
commited25bfc431bd209cb78890842ac8fabf5d6ba060 (patch)
tree76972153f879fc72a8120e80b71d9acb93944e68 /indra/newview/llfloatermodelpreview.cpp
parent4351160958efa1c352e8af1ab3f48c1486ba9c5c (diff)
BUILDFIX uninitialized variable
a potentially uninitialized variable is causing the linux build to fail. Initializing the value to 0, as its our best guess for what it should be, as davep is currently out sick.
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 7b71598b81..d1a7ba861b 100755
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -2744,7 +2744,7 @@ void LLModelPreview::genLODs(S32 which_lod)
build_operator = GLOD_OPERATOR_EDGE_COLLAPSE;
}
- U32 queue_mode;
+ U32 queue_mode=0;
iface = mFMP->childGetSelectionInterface("queue_mode");
if (iface)
{