summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-09-06 21:12:57 +0100
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-09-06 21:27:58 +0100
commit0dbe580f0f4055eaf215e1fa5f1120657738eaad (patch)
tree5b14f63e4120962c5a24ede14b5eb0890489be80 /connectivity
parent1e7ce14b7f104459ee06c472fcc6af39fa4a9750 (diff)
Some stylistic cleanup in PreparedStatement.
Change-Id: Idaddaeff58fa9433c678e7913435ad81bd615934
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/PreparedStatement.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx
index 9e0531190dec..f23871cc0a03 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.cxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx
@@ -309,10 +309,9 @@ Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery()
}
//----- XParameters -----------------------------------------------------------
-void SAL_CALL OPreparedStatement::setNull(sal_Int32 nIndex, sal_Int32 nSqlType)
+void SAL_CALL OPreparedStatement::setNull(sal_Int32 nIndex, sal_Int32 /*nSqlType*/)
throw(SQLException, RuntimeException)
{
- (void) nSqlType;
MutexGuard aGuard( m_pConnection->getMutex() );
checkDisposed(OStatementCommonBase_Base::rBHelper.bDisposed);
@@ -350,11 +349,9 @@ void OPreparedStatement::setValue(sal_Int32 nIndex, T& nValue, ISC_SHORT nType)
memcpy(pVar->sqldata, &nValue, sizeof(nValue));
}
-void SAL_CALL OPreparedStatement::setByte(sal_Int32 nIndex, sal_Int8 nValue)
+void SAL_CALL OPreparedStatement::setByte(sal_Int32 /*nIndex*/, sal_Int8 /*nValue*/)
throw(SQLException, RuntimeException)
{
- (void) nIndex;
- (void) nValue;
::dbtools::throwFunctionNotSupportedException("setByte not supported in firebird",
*this,
Any());