summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-06-25 10:48:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-06-25 15:30:22 +0200
commitd2a356d2fb97654e5e87be3e3bcc07dcb2244c30 (patch)
tree22238506b0a62f5428f753aba83b327ca4e082ca /connectivity
parentab5ac64bdd3205ba2ba9ac038719826f703a09a3 (diff)
-Werror,-Wunused-but-set-variable (clang-cl 13 trunk)
Change-Id: Ic9727cd88faac6c6b4bc132b88ce22ad5d16ecee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117849 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/ado/AColumns.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/connectivity/source/drivers/ado/AColumns.cxx b/connectivity/source/drivers/ado/AColumns.cxx
index 010807610868..88d10ecd9af3 100644
--- a/connectivity/source/drivers/ado/AColumns.cxx
+++ b/connectivity/source/drivers/ado/AColumns.cxx
@@ -74,15 +74,6 @@ sdbcx::ObjectType OColumns::appendObject( const OUString&, const Reference< XPro
WpADOColumn aColumn = pColumn->getColumnImpl();
-#if OSL_DEBUG_LEVEL > 0
- sal_Int32 nPrecision;
- sal_Int32 nScale;
- sal_Int32 nType;
- nPrecision = aColumn.get_Precision();
- nScale = aColumn.get_NumericScale();
- nType = ADOS::MapADOType2Jdbc(aColumn.get_Type());
-#endif
-
OUString sTypeName;
pColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPENAME)) >>= sTypeName;