From 7fe04dadc17c8de1f3a40f362ab44db7bad5f4d2 Mon Sep 17 00:00:00 2001 From: peavey Date: Thu, 12 Feb 2009 18:05:08 +0000 Subject: and here, and here git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11093 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_mssql.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/modules/extra/m_mssql.cpp') diff --git a/src/modules/extra/m_mssql.cpp b/src/modules/extra/m_mssql.cpp index 0b197efe5..742921966 100644 --- a/src/modules/extra/m_mssql.cpp +++ b/src/modules/extra/m_mssql.cpp @@ -359,9 +359,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; @@ -486,7 +483,6 @@ class SQLConn : public classbase *queryend = req.query.q[i]; queryend++; } - querylength++; } *queryend = 0; req.query.q = query; -- cgit v1.3.1-10-gc9f91