Removed VS compiler warning ("not all paths return a value": compiler does

not understand the assert, but this rewrite avoids the warning anyway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4056 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2009-09-28 01:07:28 +00:00
parent 9ebdf59fcd
commit 52ba6057ed

View File

@ -857,12 +857,10 @@ GUIEngine::EventPropagation PlayerNameSpinner::focused(const int playerID)
}
assert(false);
}
else
{
std::cout << "--> right spinner nothing to do\n";
return GUIEngine::EVENT_LET;
}
}
std::cout << "--> right spinner nothing to do\n";
return GUIEngine::EVENT_LET;
} // focused
}