Removed VS compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
9bf9dea62c
commit
dc0405cb3e
@ -46,7 +46,7 @@ const wchar_t* getAnchorString()
|
|||||||
case 0: return _("Arrr, the %s dropped anchor, Captain!");
|
case 0: return _("Arrr, the %s dropped anchor, Captain!");
|
||||||
case 1: return _("%s pays the next round of grog!");
|
case 1: return _("%s pays the next round of grog!");
|
||||||
case 2: return _("%s is a mighty pirate!");
|
case 2: return _("%s is a mighty pirate!");
|
||||||
default: assert(false);
|
default: assert(false); return _(""); // avoid compiler warning.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -63,7 +63,7 @@ const wchar_t* getParachuteString()
|
|||||||
case 0: return _("Geronimo!!!"); // Parachutist shout
|
case 0: return _("Geronimo!!!"); // Parachutist shout
|
||||||
case 1: return _("The Space Shuttle has landed!");
|
case 1: return _("The Space Shuttle has landed!");
|
||||||
case 2: return _("Do you want to fly kites?");
|
case 2: return _("Do you want to fly kites?");
|
||||||
default: assert(false);
|
default: assert(false); return _(""); // avoid compiler warning
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ const wchar_t* getSwapperString()
|
|||||||
case 0: return _("Magic, son. Nothing else in the world smells like that.");
|
case 0: return _("Magic, son. Nothing else in the world smells like that.");
|
||||||
case 1: return _("A wizard did it!");
|
case 1: return _("A wizard did it!");
|
||||||
case 2: return _("Banana? Box? Banana? Box? Banana? Box?");
|
case 2: return _("Banana? Box? Banana? Box? Banana? Box?");
|
||||||
default: assert(false);
|
default: assert(false); return _(""); // avoid compiler warning
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user