From a03501306d2d387028184ebe838f162786db41e6 Mon Sep 17 00:00:00 2001 From: "Kevin L. Mitchell" Date: Mon, 25 Feb 2002 17:20:15 +0000 Subject: [PATCH] Author: Carlo Wood (by way of Kev ) 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 | 4 ++++ ircd/m_server.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7e21dd9..6a372ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-02-25 Carlo Wood + + * ircd/m_server.c: remove unused variables + 2002-02-25 Joseph Bongaarts * ircd/m_map.c: Modified to show a useful output to non-opered diff --git a/ircd/m_server.c b/ircd/m_server.c index 06833a0..b27f7e2 100644 --- a/ircd/m_server.c +++ b/ircd/m_server.c @@ -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; -- 2.20.1