summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-06 15:56:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-06 16:33:28 +0200
commit1c5a0ac8dabbe32fc00686efab877805af851b0e (patch)
tree41c8fca514afae1a26eb58ebf435e6afa0d3dc93 /connectivity/source
parentdc2db4ee3f47697aa3bde91399995eed9eba47fb (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: I4c73594326f4c20f25433dea2112115ad1a12299
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/odbc/OPreparedStatement.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/odbc/OPreparedStatement.cxx b/connectivity/source/drivers/odbc/OPreparedStatement.cxx
index 6aa1c18cde4b..1935da6460a3 100644
--- a/connectivity/source/drivers/odbc/OPreparedStatement.cxx
+++ b/connectivity/source/drivers/odbc/OPreparedStatement.cxx
@@ -184,7 +184,7 @@ sal_Bool SAL_CALL OPreparedStatement::execute( ) throw(SQLException, RuntimeExc
// Get the parameter number that requires data
sal_Int32* paramIndex = 0;
- nReturn = N3SQLParamData(m_aStatementHandle, reinterpret_cast<SQLPOINTER*>(&paramIndex));
+ N3SQLParamData(m_aStatementHandle, reinterpret_cast<SQLPOINTER*>(&paramIndex));
// If the parameter index is -1, there is no
// more data required