Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8135 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
5dad1ed342
commit
7c9d1a3e8b
@ -370,7 +370,7 @@ void MinimalRaceGUI::drawGlobalTimer()
|
||||
core::stringw sw(s.c_str());
|
||||
|
||||
static video::SColor time_color = video::SColor(255, 255, 255, 255);
|
||||
int x,y;
|
||||
int x=0,y=0; // initialise to avoid compiler warning
|
||||
switch(race_manager->getNumLocalPlayers())
|
||||
{
|
||||
case 1: x = 10; y=0; break;
|
||||
|
@ -56,7 +56,7 @@ Vec3 BezierCurve::getXYZ(float t) const
|
||||
Vec3 BezierCurve::getHPR(float t) const
|
||||
{
|
||||
// FIXME: not yet implemented
|
||||
Vec3 hpr;
|
||||
Vec3 hpr(0,0,0);
|
||||
return hpr;
|
||||
} // getHPR
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user