diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-06 15:56:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-06 16:33:28 +0200 |
commit | 1c5a0ac8dabbe32fc00686efab877805af851b0e (patch) | |
tree | 41c8fca514afae1a26eb58ebf435e6afa0d3dc93 /connectivity/source | |
parent | dc2db4ee3f47697aa3bde91399995eed9eba47fb (diff) |
clang-analyzer-deadcode.DeadStores
Change-Id: I4c73594326f4c20f25433dea2112115ad1a12299
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/odbc/OPreparedStatement.cxx | 2 |
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*>(¶mIndex)); + N3SQLParamData(m_aStatementHandle, reinterpret_cast<SQLPOINTER*>(¶mIndex)); // If the parameter index is -1, there is no // more data required |