Removed more compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -51,7 +51,7 @@ const wchar_t* getCakeString()
|
||||
case 1: return _("%0 is dubious of %1's cooking skills");
|
||||
//I18N: shown when hit by cake. %1 is the attacker, %0 is the victim.
|
||||
case 2: return _("%0 should not play with %1's lunch");
|
||||
default: assert(false);
|
||||
default: assert(false); return _(""); // avoid compiler warning
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ const wchar_t* getBowlingString()
|
||||
case 1 : return _("%1 strikes %0");
|
||||
//I18N: shown when hit by bowling ball. %1 is the attacker, %0 is the victim.
|
||||
case 2 : return _("%0 is bowled over by %1");
|
||||
default: assert(false);
|
||||
default: assert(false); return _(""); // avoid compiler warning
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ const wchar_t* getPlungerInFaceString()
|
||||
case 0: return _("%0 gets a fancy mask from %1");
|
||||
//I18N: shown when a player receives a plunger in his face
|
||||
case 1: return _("%1 merges %0's face with a plunger");
|
||||
default:assert(false);
|
||||
default:assert(false); return _(""); // avoid compiler warning
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user