diff options
author | jailletc36 <christophe.jaillet@wanadoo.fr> | 2012-11-23 22:59:29 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-25 12:19:22 +0000 |
commit | e609841e8f96d4898f080d1b06a753dbe346db36 (patch) | |
tree | aeedde44384cf6b698fc22bcef6ce38adabc81ca /connectivity | |
parent | ff7eb03c4ad1027eb7dbcac73858f726ae558915 (diff) |
cppCheck: remove dead assignment and dead variables
Change-Id: I3f0eae93be7f362ff70f8a544c46cd500d2ca50c
Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr>
Reviewed-on: https://gerrit.libreoffice.org/1153
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xcontainer.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx index e28c7f2cb8fa..a93a6c51b1b8 100644 --- a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx +++ b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx @@ -339,7 +339,6 @@ void Container::rename( const rtl::OUString &oldName, const rtl::OUString &newNa newValue = m_values[nIndex]; m_name2index.erase( ii ); m_name2index[ newName ] = nIndex; - newValue = m_values[nIndex]; } } fire( ReplacedBroadcaster( *this, newName, newValue, oldName ) ); |