OSDN Git Service

Fix warning
authorTobias Hunger <tobias.hunger@nokia.com>
Mon, 29 Aug 2011 14:38:51 +0000 (14:38 +0000)
committerTobias Hunger <tobias.hunger@nokia.com>
Mon, 29 Aug 2011 15:39:19 +0000 (17:39 +0200)
Change-Id: I21d6ec20ba32c8572b68fd7e5eeadbc49abe74c4
Reviewed-on: http://codereview.qt.nokia.com/3821
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
src/plugins/qttest/testcode.cpp

index 7733e99..5bf0779 100644 (file)
@@ -467,7 +467,7 @@ TestFunctionInfo* TestCode::testFunction(int index)
 TestFunctionInfo *TestCode::findFunction(int offset, bool next)
 {
     if (offset < 0)
-        return false;
+        return 0;
     TestFunctionInfo *found = 0;
 
     for (int i = 0; i < m_testFunctions.count(); ++i) {