diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-03-07 11:21:43 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-08 14:34:46 +0100 |
commit | 59ad204c3daac2b642f39ca49a88cb7cbb25e6d0 (patch) | |
tree | 8805716657f2a252eb54158f49c2c8bb2b1af8c0 /src/scripttools/debugging/qscriptdebuggerconsole.cpp | |
parent | a444a52ac8b6bf3368dd99653e33c7c947b8fe9b (diff) | |
download | qtscript-59ad204c3daac2b642f39ca49a88cb7cbb25e6d0.tar.gz |
Fix CLANG-warnings.
- Unused member variable.
- Unused static functions.
- Return false for pointer.
Change-Id: Ie78332d3754e7f53ed75d6006c11d60c29719c7b
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggerconsole.cpp')
-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 6baa0c9..c59b061 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); |