forked from qt-creator/qt-creator
fix return statement in #if 0'd code
This commit is contained in:
@@ -2897,7 +2897,7 @@ ProFileEvaluator::Private::VisitReturn ProFileEvaluator::Private::evaluateCondit
|
|||||||
case T_SYSTEM: {
|
case T_SYSTEM: {
|
||||||
if (args.count() != 1) {
|
if (args.count() != 1) {
|
||||||
evalError(fL1S("system(exec) requires one argument."));
|
evalError(fL1S("system(exec) requires one argument."));
|
||||||
ReturnFalse;
|
return ReturnFalse;
|
||||||
}
|
}
|
||||||
return returnBool(system((QLatin1String("cd ")
|
return returnBool(system((QLatin1String("cd ")
|
||||||
+ IoUtils::shellQuote(currentDirectory())
|
+ IoUtils::shellQuote(currentDirectory())
|
||||||
|
|||||||
Reference in New Issue
Block a user