From db9544759936b15260eb4937452d278eb7419b80 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Tue, 13 Jan 2015 11:20:11 +0100 Subject: [PATCH] remove unused variable CID 1262547 --- pdns/ssqlite3.cc | 1 - pdns/ssqlite3.hh | 3 --- 2 files changed, 4 deletions(-) diff --git a/pdns/ssqlite3.cc b/pdns/ssqlite3.cc index dbc5cbda8..618c3f8a7 100644 --- a/pdns/ssqlite3.cc +++ b/pdns/ssqlite3.cc @@ -146,7 +146,6 @@ SSQLite3::SSQLite3( const std::string & database, bool creat ) throw sPerrorException( "Could not connect to the SQLite database '" + database + "'" ); m_dolog = 0; m_in_transaction = false; - m_pStmt = NULL; sqlite3_busy_handler(m_pDB, busyHandler, 0); } diff --git a/pdns/ssqlite3.hh b/pdns/ssqlite3.hh index 13b6e45cb..34288a04a 100644 --- a/pdns/ssqlite3.hh +++ b/pdns/ssqlite3.hh @@ -16,9 +16,6 @@ private: //! Pointer to the SQLite database instance. sqlite3 *m_pDB; - //! Pointer to the SQLite virtual machine executing a query. - sqlite3_stmt *m_pStmt; - bool m_dolog; bool m_in_transaction; static int busyHandler(void*, int); -- 2.40.0