From ccba9863eb3494ad7be532bf4458e752620dca2b Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 4 Sep 2013 10:02:53 +0200 Subject: AVALANCHE: Silent a warning --- engines/avalanche/avalanche.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'engines') 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(""); } } -- cgit v1.2.3