OSDN Git Service

fix return statement in #if 0'd code
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Wed, 20 Apr 2011 20:26:25 +0000 (22:26 +0200)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Thu, 21 Apr 2011 09:38:23 +0000 (11:38 +0200)
src/shared/proparser/profileevaluator.cpp

index 802a0ac..4f82c76 100644 (file)
@@ -2897,7 +2897,7 @@ ProFileEvaluator::Private::VisitReturn ProFileEvaluator::Private::evaluateCondit
         case T_SYSTEM: {
             if (args.count() != 1) {
                 evalError(fL1S("system(exec) requires one argument."));
-                ReturnFalse;
+                return ReturnFalse;
             }
             return returnBool(system((QLatin1String("cd ")
                                       + IoUtils::shellQuote(currentDirectory())