Kaydet (Commit) 4c400707 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-variable

Change-Id: I23b4532cffbc9152a36f7f4cfadfc016c93f2706
üst 2dd5b6e2
...@@ -219,11 +219,6 @@ void OPreparedStatement::setParameter(sal_Int32 parameterIndex, const DataTypeEn ...@@ -219,11 +219,6 @@ void OPreparedStatement::setParameter(sal_Int32 parameterIndex, const DataTypeEn
WpADOParameter aParam(pParam); WpADOParameter aParam(pParam);
if(pParam) if(pParam)
{ {
#if OSL_DEBUG_LEVEL > 0
OUString sParam = aParam.GetName();
#endif // OSL_DEBUG_LEVEL
DataTypeEnum eType = aParam.GetADOType(); DataTypeEnum eType = aParam.GetADOType();
if ( _eType != eType && _eType != adDBTimeStamp ) if ( _eType != eType && _eType != adDBTimeStamp )
{ {
...@@ -438,7 +433,6 @@ void SAL_CALL OPreparedStatement::clearParameters( ) throw(SQLException, Runtim ...@@ -438,7 +433,6 @@ void SAL_CALL OPreparedStatement::clearParameters( ) throw(SQLException, Runtim
WpADOParameter aParam(pParam); WpADOParameter aParam(pParam);
if(pParam) if(pParam)
{ {
OUString sParam = aParam.GetName();
CHECK_RETURN(aParam.PutValue(aVal)); CHECK_RETURN(aParam.PutValue(aVal));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment