From fd27eba861f863ee9522f6684a188943eec10b76 Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 4 Apr 2006 05:34:26 +0000 Subject: 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 --- src/modules/m_spanningtree.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree.cpp') 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) -- cgit v1.3.1-10-gc9f91