diff options
-rw-r--r-- | src/modules/extra/m_sqlite3.cpp | 4 |
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; |