diff options
author | Bill King <bill.king@nokia.com> | 2009-08-10 22:23:30 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2009-08-10 22:23:30 (GMT) |
commit | 6c3c9d812a730d5bc1bcd6261befe077a65be594 (patch) | |
tree | 3d9fb0224b0bbc1eae4f80bb11cbeffa313f3df9 /src | |
parent | a675f83543d9a8bb61cb5f5227c6793ae343cc80 (diff) | |
download | Qt-6c3c9d812a730d5bc1bcd6261befe077a65be594.zip Qt-6c3c9d812a730d5bc1bcd6261befe077a65be594.tar.gz Qt-6c3c9d812a730d5bc1bcd6261befe077a65be594.tar.bz2 |
Fixes coverity warning of uninit variable.
Diffstat (limited to 'src')
-rw-r--r-- | src/sql/drivers/psql/qsql_psql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sql/drivers/psql/qsql_psql.cpp b/src/sql/drivers/psql/qsql_psql.cpp index 4fd0c11..fccc622 100644 --- a/src/sql/drivers/psql/qsql_psql.cpp +++ b/src/sql/drivers/psql/qsql_psql.cpp @@ -158,7 +158,7 @@ void QPSQLDriverPrivate::appendTables(QStringList &tl, QSqlQuery &t, QChar type) class QPSQLResultPrivate { public: - QPSQLResultPrivate(QPSQLResult *qq): q(qq), driver(0), result(0), currentSize(-1) {} + QPSQLResultPrivate(QPSQLResult *qq): q(qq), driver(0), result(0), currentSize(-1), preparedQueriesEnabled(false) {} QPSQLResult *q; const QPSQLDriverPrivate *driver; |