[Libreoffice-commits] core.git: connectivity/source
Julien Nabet
serval2412 at yahoo.fr
Sun Jun 16 12:40:04 PDT 2013
connectivity/source/drivers/postgresql/pq_connection.hxx | 2 ++
connectivity/source/drivers/postgresql/pq_statics.hxx | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 0a52587c7a6409f81f61feeb3edf4054730a72a2
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Jun 16 21:39:19 2013 +0200
cppcheck: fix uninitMemberVar for postgresql part
Change-Id: Id37b961ff04ec9cebcc9d35434ccfdff0b512235
diff --git a/connectivity/source/drivers/postgresql/pq_connection.hxx b/connectivity/source/drivers/postgresql/pq_connection.hxx
index b6de797..669d24d 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 b812fb4..7709d5d 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 );
}
More information about the Libreoffice-commits
mailing list