From 59aa092aa33cd2acd73c20cffa5789c7ef96eaac Mon Sep 17 00:00:00 2001 From: Byrial Jensen Date: Mon, 16 Apr 2012 13:18:37 +0200 Subject: [PATCH] Remove 5 unused variables from zippy code --- zippy.c | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/zippy.c b/zippy.c index c5c4207..44f6aaf 100644 --- a/zippy.c +++ b/zippy.c @@ -315,7 +315,6 @@ Speak (char *how, char *whom) time_t now; char *p; int c, speechlen; - Boolean done; if (strcmp(how, "shout") == 0) { now = time((time_t *) NULL); @@ -346,7 +345,6 @@ Speak (char *how, char *whom) if (c == EOF) continue; break; } - done = FALSE; /* Don't use ics_prefix; we need to let FICS expand the alias i -> it, but use the real command "i" on ICC */ @@ -659,7 +657,6 @@ ZippyConverse(char *buf, int *i) /* Channel tells */ oldi = *i; if (looking_at(buf, i, "*(*: *")) { - char *player; char *channel; if (star_match[0][0] == NULLCHAR || strchr(star_match[0], ' ') || @@ -669,7 +666,6 @@ ZippyConverse(char *buf, int *i) return FALSE; } if (appData.zippyTalk) { - player = StripHighlightAndTitle(star_match[0]); channel = strrchr(star_match[1], '('); if (channel == NULL) { channel = star_match[1]; @@ -774,16 +770,12 @@ void ZippyHandleChallenge (char *srated, char *swild, char *sbase, char *sincrement, char *opponent) { char buf[MSG_SIZ]; - int base, increment, i=0; - char rated; + int i=0; VariantClass variant; char *varname; - rated = srated[0]; variant = StringToVariant(swild); varname = VariantName(variant); - base = atoi(sbase); - increment = atoi(sincrement); /* [DM] If icsAnalyzeEngine active we don't accept automatic games */ if (appData.icsActive && appData.icsEngineAnalyze) return; -- 1.7.0.4