summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-12 18:05:07 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-12 18:05:07 +0000
commitb686288b3f6bbc49bd689df2d5b3d8ce9d62db4e (patch)
tree869e40e8b4f8342794568d34f645840ae8a54b6e /src/modules/extra
parentb5e82511c4810d8267799bae24a2662b804b689e (diff)
Ah pasting, also remove this var from here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11092 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_sqlite3.cpp4
1 files changed, 0 insertions, 4 deletions
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;