summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-09-07 18:16:46 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-09-07 18:16:46 +0100
commiteb10840623b6f0386a7990ee946cfa5879094fb3 (patch)
treef2673f4a58cf6ed9600c0a2fb31cd84d9916fb30 /indra
parenta30bc718bbeb660e92eb3f70c1ec0364903069a8 (diff)
Fix some build errors.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llbottomtray.cpp3
-rw-r--r--indra/newview/llbottomtray.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp
index 053c400e74..f3ade83d00 100644
--- a/indra/newview/llbottomtray.cpp
+++ b/indra/newview/llbottomtray.cpp
@@ -655,7 +655,8 @@ void LLBottomTray::updateButtonsOrdersAfterDnD()
// Speak button is currently the only draggable button not in mStateProcessedObjectMap,
// so if dragged_state is not found in that map, it should be RS_BUTTON_SPEAK. Change this code if any other
// exclusions from mStateProcessedObjectMap will become draggable.
- EResizeState dragged_state = RS_BUTTON_SPEAK, landing_state;
+ EResizeState dragged_state = RS_BUTTON_SPEAK;
+ EResizeState landing_state = RS_NORESIZE;
bool landing_state_found = false;
// Find states for dragged item and landing tab
for (; it != it_end; ++it)
diff --git a/indra/newview/llbottomtray.h b/indra/newview/llbottomtray.h
index 0973445157..14a29895f5 100644
--- a/indra/newview/llbottomtray.h
+++ b/indra/newview/llbottomtray.h
@@ -63,7 +63,7 @@ public:
/*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask);
protected:
- LLBottomtrayButton::LLBottomtrayButton(const Params& p)
+ LLBottomtrayButton(const Params& p)
: LLButton(p)
{