connectivity/source/drivers/ado/AColumns.cxx |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit d2a356d2fb97654e5e87be3e3bcc07dcb2244c30
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Jun 25 10:48:58 2021 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Jun 25 15:30:22 2021 +0200

    -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 <sberg...@redhat.com>

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;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to