From 168ad25711c0bd6e3a025b083312e3ed2d237933 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 13 Sep 2015 20:46:48 +0100 Subject: cppcheck: unreadVariable Change-Id: Ia611c9a1119af65688031d16ff322f1bde43297b --- connectivity/source/drivers/dbase/DTable.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 12b2610e705a..6fd3ba78d96d 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -2474,7 +2474,7 @@ void ODbaseTable::dropColumn(sal_Int32 _nPos) // construct the new table if(!pNewTable->CreateImpl()) { - xHold = pNewTable = NULL; + xHold.clear(); const OUString sError( getConnection()->getResources().getResourceStringWithSubstitution( STR_COLUMN_NOT_DROP, "$position$", OUString::number(_nPos) @@ -2489,7 +2489,7 @@ void ODbaseTable::dropColumn(sal_Int32 _nPos) pNewTable->renameImpl(m_Name); // release the temp file - xHold = pNewTable = NULL; + xHold.clear(); FileClose(); construct(); -- cgit