Remove unused variable cruft.

This commit is contained in:
Keith Buck 2012-03-25 02:37:41 +00:00
parent ae4ce45f2e
commit 2d537cae88
5 changed files with 1 additions and 16 deletions

View file

@ -398,7 +398,6 @@ ms_join(struct Client *client_p, struct Client *source_p, int parc, const char *
time_t newts;
int isnew;
int keep_our_modes = YES;
int keep_new_modes = YES;
rb_dlink_node *ptr, *next_ptr;
/* special case for join 0 */
@ -460,8 +459,6 @@ ms_join(struct Client *client_p, struct Client *source_p, int parc, const char *
keep_our_modes = NO;
chptr->channelts = newts;
}
else
keep_new_modes = NO;
/* Lost the TS, other side wins, so remove modes on this side */
if(!keep_our_modes)

View file

@ -168,7 +168,6 @@ ms_kill(struct Client *client_p, struct Client *source_p, int parc, const char *
const char *reason;
char default_reason[] = "<No reason given>";
const char *path;
int chasing = 0;
*buf = '\0';
@ -212,7 +211,6 @@ ms_kill(struct Client *client_p, struct Client *source_p, int parc, const char *
return 0;
}
sendto_one_notice(source_p, ":KILL changed from %s to %s", user, target_p->name);
chasing = 1;
}
if(IsServer(target_p) || IsMe(target_p))

View file

@ -485,13 +485,10 @@ ms_sid(struct Client *client_p, struct Client *source_p, int parc, const char *p
struct remote_conf *hub_p;
hook_data_client hdata;
rb_dlink_node *ptr;
int hop;
int hlined = 0;
int llined = 0;
char squitreason[160];
hop = atoi(parv[2]);
/* collision on the name? */
if((target_p = find_server(NULL, parv[1])) != NULL)
{