From 4c400707ff52f353d8cfa7ce54ac0cf26d64c51f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 27 Nov 2015 17:19:58 +0100 Subject: -Werror,-Wunused-variable Change-Id: I23b4532cffbc9152a36f7f4cfadfc016c93f2706 --- connectivity/source/drivers/ado/APreparedStatement.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/ado/APreparedStatement.cxx b/connectivity/source/drivers/ado/APreparedStatement.cxx index 2e581fe873ad..aea1232e5925 100644 --- a/connectivity/source/drivers/ado/APreparedStatement.cxx +++ b/connectivity/source/drivers/ado/APreparedStatement.cxx @@ -219,11 +219,6 @@ void OPreparedStatement::setParameter(sal_Int32 parameterIndex, const DataTypeEn WpADOParameter aParam(pParam); if(pParam) { -#if OSL_DEBUG_LEVEL > 0 - OUString sParam = aParam.GetName(); - -#endif // OSL_DEBUG_LEVEL - DataTypeEnum eType = aParam.GetADOType(); if ( _eType != eType && _eType != adDBTimeStamp ) { @@ -438,7 +433,6 @@ void SAL_CALL OPreparedStatement::clearParameters( ) throw(SQLException, Runtim WpADOParameter aParam(pParam); if(pParam) { - OUString sParam = aParam.GetName(); CHECK_RETURN(aParam.PutValue(aVal)); } } -- cgit