summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-30 23:04:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-31 09:04:14 +0200
commit5466323a8b895df011463c3bc1f243cce8695315 (patch)
tree7f33486998e67aea9a7849ab2ed290cc3b660cc7 /connectivity/source/drivers
parent176f0de1d409c50d685f14b2aa01da169a1934ac (diff)
-Werror,-Wunused-value (Clang towards 3.2)
Change-Id: I2ebaa95bdb446ec10ab015ad2a792e750859da7f
Diffstat (limited to 'connectivity/source/drivers')
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx
index 1b63c7d7e540..bd20f9c5e480 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.cxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.cxx
@@ -402,7 +402,7 @@ void Connection::setCatalog( const ::rtl::OUString& )
::rtl::OUString Connection::getCatalog() throw (SQLException, RuntimeException)
{
OUString ret;
- MutexGuard ( m_refMutex->mutex );
+ MutexGuard guard( m_refMutex->mutex );
if( m_settings.pConnection == 0 )
{
throw SQLException( ASCII_STR( "pq_connection: connection is closed" ), *this,