Author: Carlo Wood <carlo@alinoe.com> (by way of Kev <klmitch@mit.edu>)
authorKevin L. Mitchell <klmitch@mit.edu>
Mon, 25 Feb 2002 17:20:15 +0000 (17:20 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Mon, 25 Feb 2002 17:20:15 +0000 (17:20 +0000)
Log message:

Removes the warnings:

m_server.c: In function `mr_server':
m_server.c:132: warning: unused variable `bcptr'
m_server.c: In function `ms_server':
m_server.c:681: warning: unused variable `ret'
m_server.c:678: warning: unused variable `aconf'

These are independend of configure options: a reg.exp. search
shows they are certainly not used in these functions, anywhere.
Probably there as a result of duplicating code in the past.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@659 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/m_server.c

index 7e21dd9b60917b78854106d0275e47e962e174ca..6a372ee453ebad63ef3425be8e7fac52bfabfa6a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-25  Carlo Wood  <carlo@alinoe.com>
+
+       * ircd/m_server.c: remove unused variables
+
 2002-02-25 Joseph Bongaarts <foxxe@wtfs.net>
 
        * ircd/m_map.c: Modified to show a useful output to non-opered
index 06833a0729bb5767dd80f6ead5e2d97cc0d57b04..b27f7e2006c804eea9c112e8d5ef92a10ceb6430 100644 (file)
@@ -131,7 +131,6 @@ int mr_server(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   char             info[REALLEN + 1];
   char*            host;
   struct Client*   acptr;
-  struct Client*   bcptr;
   struct Client*   LHcptr = 0;
   struct ConfItem* aconf = 0;
   struct ConfItem* lhconf = 0;
@@ -681,10 +680,8 @@ int ms_server(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   struct Client*   acptr;
   struct Client*   bcptr;
   struct Client*   LHcptr = 0;
-  struct ConfItem* aconf = 0;
   struct ConfItem* lhconf = 0;
   int              hop;
-  int              ret;
   int              active_lh_line = 0;
   unsigned short   prot;
   time_t           start_timestamp;