From: Kees Monshouwer Date: Tue, 13 Jan 2015 10:20:11 +0000 (+0100) Subject: remove unused variable CID 1262547 X-Git-Tag: rec-3.7.0-rc1~28^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db9544759936b15260eb4937452d278eb7419b80;p=thirdparty%2Fpdns.git remove unused variable CID 1262547 --- diff --git a/pdns/ssqlite3.cc b/pdns/ssqlite3.cc index dbc5cbda87..618c3f8a70 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 13b6e45cbd..34288a04a1 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);