diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-10-30 08:58:23 (GMT) |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2014-10-30 14:54:45 (GMT) |
commit | 809119d7a42ebfa5dec9c842e510e569e385513a (patch) | |
tree | 7f1acbe97b83c27deafb986905776b67dfc64bc2 | |
parent | 09d62813fcb42660888284168540e74a187913aa (diff) | |
download | Qt-809119d7a42ebfa5dec9c842e510e569e385513a.zip Qt-809119d7a42ebfa5dec9c842e510e569e385513a.tar.gz Qt-809119d7a42ebfa5dec9c842e510e569e385513a.tar.bz2 |
Fix compiler warning
Already fixed in Qt 5
Task-number: QTBUG-42032
Change-Id: I7ed7d955115e875468b94759bda44f99b737e7cb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-rw-r--r-- | src/scripttools/debugging/qscriptdebuggerconsole.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggerconsole.cpp b/src/scripttools/debugging/qscriptdebuggerconsole.cpp index 5d322f0..3e72a27 100644 --- a/src/scripttools/debugging/qscriptdebuggerconsole.cpp +++ b/src/scripttools/debugging/qscriptdebuggerconsole.cpp @@ -489,7 +489,7 @@ QScriptDebuggerConsoleCommandJob *QScriptDebuggerConsole::consumeInput( d->input += QLatin1Char('\n'); QScriptSyntaxCheckResult check = QScriptEngine::checkSyntax(d->input); if (check.state() == QScriptSyntaxCheckResult::Intermediate) - return false; + return 0; d->input.chop(1); // remove the last \n cmd = QString(); cmd.append(d->commandPrefix); |