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-e03cc46cb475master
parent
86498e7371
commit
f4fdeb55a9
|
@ -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*/ )
|
||||||
{
|
{
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue