From: H.G. Muller Date: Sat, 7 Apr 2012 13:59:50 +0000 (+0200) Subject: Remove some unused (exclude-moves) variables X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=1059c12cf5d52a4f1934ab40e0d92801fdc5988f;p=xboard.git Remove some unused (exclude-moves) variables --- diff --git a/backend.c b/backend.c index 14f4829..90a63c0 100644 --- a/backend.c +++ b/backend.c @@ -6131,7 +6131,6 @@ WriteMap (int s) static void ClearMap () { - int j; safeStrCpy(exclusionHeader, "exclude: none best +tail \n", MSG_SIZ); excludePtr = 24; exCnt = 0; WriteMap(0); @@ -6163,7 +6162,7 @@ UpdateExcludeHeader (int fromY, int fromX, int toY, int toX, char promoChar, cha static int ExcludeOneMove (int fromY, int fromX, int toY, int toX, signed char promoChar, char state) { // include or exclude the given move, as specified by state ('+' or '-'), or toggle - char *p, buf[MSG_SIZ]; + char buf[MSG_SIZ]; int j, k; ChessMove moveType; if(promoChar == -1) { // kludge to indicate best move @@ -6190,7 +6189,6 @@ static void ExcludeClick (int index) { int i, j; - char buf[MSG_SIZ]; Exclusion *e = excluTab; if(index < 25) { // none, best or tail clicked if(index < 13) { // none: include all