From b686288b3f6bbc49bd689df2d5b3d8ce9d62db4e Mon Sep 17 00:00:00 2001 From: peavey Date: Thu, 12 Feb 2009 18:05:07 +0000 Subject: Ah pasting, also remove this var from here git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11092 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqlite3.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/modules') diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp index c4d1cc799..d6cd51440 100644 --- a/src/modules/extra/m_sqlite3.cpp +++ b/src/modules/extra/m_sqlite3.cpp @@ -306,9 +306,6 @@ class SQLConn : public classbase /* Total length of the unescaped parameters */ unsigned long maxparamlen, paramcount; - /* Total length of query, used for binary-safety */ - unsigned long querylength = 0; - /* The length of the longest parameter */ maxparamlen = 0; @@ -404,7 +401,6 @@ class SQLConn : public classbase *queryend = req.query.q[i]; queryend++; } - querylength++; } *queryend = 0; req.query.q = query; -- cgit v1.2.3