aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorGravatar w00t2006-04-04 05:34:26 +0000
committerGravatar w00t2006-04-04 05:34:26 +0000
commitfd27eba861f863ee9522f6684a188943eec10b76 (patch)
tree267940aa25180c8f2bf3d9c33116d9a5e2940fa2 /src/modules/m_spanningtree.cpp
parentMake -nolimit behaviour default, we want core dumps. Print a warning if anyon... (diff)
Remove irritating compile warning on m_spanningtree that I forgot to backport from trunk a week or so ago.
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3814 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 336230d3d..31df4852d 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1,4 +1,4 @@
-;/* +------------------------------------+
+/* +------------------------------------+
* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
@@ -1405,7 +1405,6 @@ class TreeSocket : public InspSocket
*/
virtual bool OnDataReady()
{
- int iterations = 0;
char* data = this->Read();
/* Check that the data read is a valid pointer and it has some content */
if (data && *data)