From 6bd96eda065f819e1b147e9a94b337b6cc21e626 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 13 Jan 2017 13:46:12 +0000 Subject: coverity#1371289 avoid the need for an assignment Change-Id: Ia0efc427d9996eb8414821d07f7e760fb1b35246 --- connectivity/source/drivers/postgresql/pq_statement.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity') 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; } } -- cgit