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:
hikerstk
2010-06-07 21:48:22 +00:00
parent dc0405cb3e
commit c74d9dae5f
2 changed files with 3 additions and 3 deletions

View File

@@ -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
}
}

View File

@@ -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
}
}