Fix compile with clang and -Werror.

Fixes the following warning/error:

src/sql/drivers/sqlite2/qsql_sqlite2.cpp:142:19: error: unused variable
  'initial_cache_size'
      [-Werror,-Wunused-const-variable]
static const uint initial_cache_size = 128;
                  ^
1 error generated.

Change-Id: I4ed7f789561dd9b68dd374c122f4db3813e63e05
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
This commit is contained in:
Milian Wolff 2016-03-03 11:29:10 +01:00
parent 43e535dd6f
commit fdd2ab58ae

View File

@ -139,8 +139,6 @@ public:
QVector<QVariant> firstRow;
};
static const uint initial_cache_size = 128;
QSQLite2ResultPrivate::QSQLite2ResultPrivate(QSQLite2Result* res) : q(res), access(0), currentTail(0),
currentMachine(0), skippedStatus(false), skipRow(false), utf8(false)
{