aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2013-09-04 10:02:53 +0200
committerStrangerke2013-09-04 10:02:53 +0200
commitccba9863eb3494ad7be532bf4458e752620dca2b (patch)
treea084ee0e9f93c7ddca72b3f2c69be7c58c65e0f8
parent458dd5d0cc4dfad39cbd1a3ec161cc55991ef10e (diff)
downloadscummvm-rg350-ccba9863eb3494ad7be532bf4458e752620dca2b.tar.gz
scummvm-rg350-ccba9863eb3494ad7be532bf4458e752620dca2b.tar.bz2
scummvm-rg350-ccba9863eb3494ad7be532bf4458e752620dca2b.zip
AVALANCHE: Silent a warning
-rw-r--r--engines/avalanche/avalanche.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp
index 2f098990a9..f34603a0e8 100644
--- a/engines/avalanche/avalanche.cpp
+++ b/engines/avalanche/avalanche.cpp
@@ -608,11 +608,14 @@ Common::String AvalancheEngine::elmToStr(Elm how) {
switch (how) {
case kNormal:
case kMusical:
- return "jsb";
+ return Common::String("jsb");
case kRegi:
- return "REGI";
+ return Common::String("REGI");
case kElmpoyten:
- return "ELMPOYTEN";
+ return Common::String("ELMPOYTEN");
+ // Useless, but silent a warning
+ default:
+ return Common::String("");
}
}