Commit f4fdeb55 authored by bitplane's avatar bitplane

Fixed a couple of warnings, including one reported by curaga (3472442)



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4035 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 86498e73
...@@ -129,7 +129,6 @@ void CGUICheckBox::draw() ...@@ -129,7 +129,6 @@ void CGUICheckBox::draw()
IGUISkin* skin = Environment->getSkin(); IGUISkin* skin = Environment->getSkin();
if (skin) if (skin)
{ {
const core::rect<s32> rect = AbsoluteRect;
const s32 height = skin->getSize(EGDS_CHECK_BOX_WIDTH); const s32 height = skin->getSize(EGDS_CHECK_BOX_WIDTH);
core::rect<s32> checkRect(AbsoluteRect.UpperLeftCorner.X, core::rect<s32> checkRect(AbsoluteRect.UpperLeftCorner.X,
......
...@@ -696,7 +696,7 @@ void CGUITreeView::mouseAction( s32 xpos, s32 ypos, bool onlyHover /*= false*/ ) ...@@ -696,7 +696,7 @@ void CGUITreeView::mouseAction( s32 xpos, s32 ypos, bool onlyHover /*= false*/ )
{ {
IGUITreeViewNode* oldSelected = Selected; IGUITreeViewNode* oldSelected = Selected;
IGUITreeViewNode* hitNode = 0; IGUITreeViewNode* hitNode = 0;
s32 selIdx; s32 selIdx=-1;
s32 n; s32 n;
IGUITreeViewNode* node; IGUITreeViewNode* node;
SEvent event; SEvent event;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment