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:
parent
9ebdf59fcd
commit
52ba6057ed
@ -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;
|
||||
}
|
||||
}
|
||||
} // focused
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user