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
master
bitplane 2012-01-11 16:09:49 +00:00
parent 86498e7371
commit f4fdeb55a9
2 changed files with 1 additions and 2 deletions

View File

@ -129,7 +129,6 @@ void CGUICheckBox::draw()
IGUISkin* skin = Environment->getSkin();
if (skin)
{
const core::rect<s32> rect = AbsoluteRect;
const s32 height = skin->getSize(EGDS_CHECK_BOX_WIDTH);
core::rect<s32> checkRect(AbsoluteRect.UpperLeftCorner.X,

View File

@ -696,7 +696,7 @@ void CGUITreeView::mouseAction( s32 xpos, s32 ypos, bool onlyHover /*= false*/ )
{
IGUITreeViewNode* oldSelected = Selected;
IGUITreeViewNode* hitNode = 0;
s32 selIdx;
s32 selIdx=-1;
s32 n;
IGUITreeViewNode* node;
SEvent event;