diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-28 10:46:37 -0800 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-28 10:46:37 -0800 |
commit | cad4ca01dc804d14c022b63e6a8541e46b1a8309 (patch) | |
tree | f81726a0c02e86b004024a6204d432146c307bea | |
parent | 7bd7f0d0ff5f929ea2d34a78b902ea136501865c (diff) |
CID-379
Checker: UNINIT_CTOR
Function: LLFloaterScriptQueue::LLFloaterScriptQueue(const LLSD &)
File: /indra/newview/llcompilequeue.cpp
-rw-r--r-- | indra/newview/llcompilequeue.cpp | 5 | ||||
-rw-r--r-- | indra/newview/llcompilequeue.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/indra/newview/llcompilequeue.cpp b/indra/newview/llcompilequeue.cpp index 5c05a54120..a96981a108 100644 --- a/indra/newview/llcompilequeue.cpp +++ b/indra/newview/llcompilequeue.cpp @@ -92,7 +92,8 @@ struct LLScriptQueueData // Default constructor LLFloaterScriptQueue::LLFloaterScriptQueue(const LLSD& key) : LLFloater(key), - mDone(FALSE) + mDone(false), + mMono(false) { //Called from floater reg: LLUICtrlFactory::getInstance()->buildFloater(this,"floater_script_queue.xml", FALSE); } @@ -216,7 +217,7 @@ BOOL LLFloaterScriptQueue::nextObject() } while((mObjectIDs.count() > 0) && !successful_start); if(isDone() && !mDone) { - mDone = TRUE; + mDone = true; getChild<LLScrollListCtrl>("queue output")->setCommentText(getString("Done")); childSetEnabled("close",TRUE); } diff --git a/indra/newview/llcompilequeue.h b/indra/newview/llcompilequeue.h index 063d573239..2d061f5d8a 100644 --- a/indra/newview/llcompilequeue.h +++ b/indra/newview/llcompilequeue.h @@ -104,10 +104,10 @@ protected: // Object Queue LLDynamicArray<LLUUID> mObjectIDs; LLUUID mCurrentObjectID; - BOOL mDone; + bool mDone; std::string mStartString; - BOOL mMono; + bool mMono; }; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |