summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2009-08-10 22:23:30 (GMT)
committerBill King <bill.king@nokia.com>2009-08-10 22:23:30 (GMT)
commit6c3c9d812a730d5bc1bcd6261befe077a65be594 (patch)
tree3d9fb0224b0bbc1eae4f80bb11cbeffa313f3df9 /src
parenta675f83543d9a8bb61cb5f5227c6793ae343cc80 (diff)
downloadQt-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.cpp2
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;