From dc0405cb3eac0e8ff2c1f51e7ced6776b141c93c Mon Sep 17 00:00:00 2001 From: hikerstk Date: Mon, 7 Jun 2010 21:47:34 +0000 Subject: [PATCH] Removed VS compiler warnings. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5479 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/items/powerup.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/items/powerup.cpp b/src/items/powerup.cpp index dbb45af97..8bfaaec81 100644 --- a/src/items/powerup.cpp +++ b/src/items/powerup.cpp @@ -46,7 +46,7 @@ const wchar_t* getAnchorString() case 0: return _("Arrr, the %s dropped anchor, Captain!"); case 1: return _("%s pays the next round of grog!"); 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 1: return _("The Space Shuttle has landed!"); 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 1: return _("A wizard did it!"); case 2: return _("Banana? Box? Banana? Box? Banana? Box?"); - default: assert(false); + default: assert(false); return _(""); // avoid compiler warning } }