]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
remove unused variable CID 1262547 2075/head
authorKees Monshouwer <mind04@monshouwer.org>
Tue, 13 Jan 2015 10:20:11 +0000 (11:20 +0100)
committermind04 <mind04@monshouwer.org>
Tue, 13 Jan 2015 10:20:11 +0000 (11:20 +0100)
pdns/ssqlite3.cc
pdns/ssqlite3.hh

index dbc5cbda8763d2011ecac5d9f8b2801ea3a459c3..618c3f8a700e9731fc77d6c8e2c8e59e1e025bb4 100644 (file)
@@ -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);
 }
 
index 13b6e45cbdb694b759160305dd224d9e7ca91e80..34288a04a198d8ca6b3dd1951de8cf19e391800f 100644 (file)
@@ -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);