summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-06 15:44:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-06 16:33:27 +0200
commit5d698f08c9ce2550345545d0ae0a4beb780b4f41 (patch)
tree8be25cf031aea33658b77356a4285479b1ee9b95 /connectivity
parentb94eccd1d1bb7e1a849e6a024acf84b7a7c12ed3 (diff)
clang-analyzer-deadcode.DeadStores
nLen was unused ever since 5e1b6f684538df8e38f8d60619a2ae2e792edf47 "first version" Change-Id: I110ccf9156c4d0c4b47b0fba928d388ba7e06387
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/flat/ETable.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx
index 7e312899e4f3..bdacc83998d8 100644
--- a/connectivity/source/drivers/flat/ETable.cxx
+++ b/connectivity/source/drivers/flat/ETable.cxx
@@ -618,18 +618,14 @@ bool OFlatTable::fetchRow(OValueRefRow& _rRow, const OSQLColumns & _rCols, bool
}
else
{
- // lengths depending on data-type:
- sal_Int32 nLen;
sal_Int32 nType = 0;
if(bIsTable)
{
- nLen = m_aPrecisions[i-1];
nType = m_aTypes[i-1];
}
else
{
Reference< XPropertySet> xColumn = *aIter;
- xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_PRECISION)) >>= nLen;
xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE)) >>= nType;
}
switch(nType)