MAINT-5011: Fix type error surfaced by gcc 4.7.

LLView::childFromPoint(), which is declared to return LLView*, contained a
code path that could 'return false'. This is blatantly wrong. Why has it
compiled on our other compilers so far?
meow-7.2.2
Nat Goodspeed 2016-08-25 14:37:46 -04:00
parent 17382b22e0
commit cc29b44dcf
1 changed files with 1 additions and 1 deletions

View File

@ -812,7 +812,7 @@ LLView* LLView::childrenHandleHover(S32 x, S32 y, MASK mask)
LLView* LLView::childFromPoint(S32 x, S32 y, bool recur)
{
if (!getVisible())
return false;
return 0;
BOOST_FOREACH(LLView* viewp, mChildList)
{