summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mork/MStatement.cxx
diff options
context:
space:
mode:
authorMatthew J. Francis <mjay.francis@gmail.com>2014-09-20 12:14:41 +0800
committerNoel Grandin <noelgrandin@gmail.com>2014-09-22 05:15:53 +0000
commit764e3016b62665281539af4e990ca4ff0445c26c (patch)
treef5ec6b10fa76e3f622d26095981e5c1a92c2485f /connectivity/source/drivers/mork/MStatement.cxx
parent935e8fc98c033680029e4531747a2f680f50d5ca (diff)
fdo#84086 Fix assorted use-after-free bugs
Change-Id: Iec004fffdb0afbe27bd69f379db90f6d904a8a65 Reviewed-on: https://gerrit.libreoffice.org/11553 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'connectivity/source/drivers/mork/MStatement.cxx')
-rw-r--r--connectivity/source/drivers/mork/MStatement.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/connectivity/source/drivers/mork/MStatement.cxx b/connectivity/source/drivers/mork/MStatement.cxx
index 1ee4b8c62c98..3dd425e9ec4e 100644
--- a/connectivity/source/drivers/mork/MStatement.cxx
+++ b/connectivity/source/drivers/mork/MStatement.cxx
@@ -196,8 +196,6 @@ OCommonStatement::StatementType OCommonStatement::parseSql( const OUString& sql
#if OSL_DEBUG_LEVEL > 0
{
- const char* str = OUtoCStr(sql);
- OSL_UNUSED( str );
OSL_TRACE("ParseSQL: %s", OUtoCStr( sql ) );
}
#endif // OSL_DEBUG_LEVEL