diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-13 13:46:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-13 13:46:12 +0000 |
commit | 6bd96eda065f819e1b147e9a94b337b6cc21e626 (patch) | |
tree | 66e8268751fa962062ff4cae4dcd2d073957faf3 /connectivity | |
parent | 2eb035adf756136e7a2eb49b2cfef2bd9b5d21af (diff) |
coverity#1371289 avoid the need for an assignment
Change-Id: Ia0efc427d9996eb8414821d07f7e760fb1b35246
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_statement.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_statement.cxx b/connectivity/source/drivers/postgresql/pq_statement.cxx index 5aaef394e089..55715b0504b1 100644 --- a/connectivity/source/drivers/postgresql/pq_statement.cxx +++ b/connectivity/source/drivers/postgresql/pq_statement.cxx @@ -797,7 +797,7 @@ Reference< XResultSet > getGeneratedValuesFromLastInsert( { // it even was no autovalue, no sense to continue as we can't query the // inserted row - buf = OUStringBuffer(); + buf.setLength(0); break; } } |