summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-06-16 21:39:19 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-06-16 21:39:39 +0200
commit0a52587c7a6409f81f61feeb3edf4054730a72a2 (patch)
treeb735c2d64746c3f09dd3293de348495e8c120fa8 /connectivity
parent21acf9d636574249f3c4748831e659c0b12a8a4a (diff)
cppcheck: fix uninitMemberVar for postgresql part
Change-Id: Id37b961ff04ec9cebcc9d35434ccfdff0b512235
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.hxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_statics.hxx3
2 files changed, 4 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.hxx b/connectivity/source/drivers/postgresql/pq_connection.hxx
index b6de797ac882..669d24dd6996 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.hxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.hxx
@@ -105,6 +105,8 @@ struct ConnectionSettings
pConnection(0),
maxNameLen(0),
maxIndexKeys(0),
+ pTablesImpl(0),
+ pViewsImpl(0),
showSystemColumns( sal_False ),
logFile( 0 ),
loglevel( LogLevel::INFO )
diff --git a/connectivity/source/drivers/postgresql/pq_statics.hxx b/connectivity/source/drivers/postgresql/pq_statics.hxx
index b812fb4a6901..7709d5db7019 100644
--- a/connectivity/source/drivers/postgresql/pq_statics.hxx
+++ b/connectivity/source/drivers/postgresql/pq_statics.hxx
@@ -121,7 +121,8 @@ typedef ::boost::unordered_map
struct ImplementationStatics
{
ImplementationStatics() :
- implementationId( 16 )
+ implementationId(16),
+ pProps(0)
{
rtl_createUuid( (sal_uInt8*)implementationId.getArray(), 0 , sal_False );
}