Kaydet (Commit) 5466323a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-value (Clang towards 3.2)

Change-Id: I2ebaa95bdb446ec10ab015ad2a792e750859da7f
üst 176f0de1
...@@ -402,7 +402,7 @@ void Connection::setCatalog( const ::rtl::OUString& ) ...@@ -402,7 +402,7 @@ void Connection::setCatalog( const ::rtl::OUString& )
::rtl::OUString Connection::getCatalog() throw (SQLException, RuntimeException) ::rtl::OUString Connection::getCatalog() throw (SQLException, RuntimeException)
{ {
OUString ret; OUString ret;
MutexGuard ( m_refMutex->mutex ); MutexGuard guard( m_refMutex->mutex );
if( m_settings.pConnection == 0 ) if( m_settings.pConnection == 0 )
{ {
throw SQLException( ASCII_STR( "pq_connection: connection is closed" ), *this, throw SQLException( ASCII_STR( "pq_connection: connection is closed" ), *this,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment