From 8fb54e5c695ae1fbc438f2097ab5ec4e71d61318 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Tue, 26 Dec 2023 16:25:04 +0100 Subject: Deleted disabled code --- FICS/formula.c | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/FICS/formula.c b/FICS/formula.c index 447caba..0a06026 100644 --- a/FICS/formula.c +++ b/FICS/formula.c @@ -482,38 +482,6 @@ void ExplainFormula (game *g, textlist **clauses) } } -#if 0 -void ExplainFormula (game *g, textlist *eval) -{ - int i, newPos, value; - char Head[MAX_STRING_LENGTH], - Tail[MAX_STRING_LENGTH]; - - strcpy (strRet, GetPlayersFormula(&parray[g->black], clause)); - for (i=0; strRet[i] != '\0'; i++) - { - if (strRet[i] == '#') - { - strRet[i] = '\0'; - break; - } - if (!isalpha(strRet[i])) continue; - newPos = i; - if (!VarToToken(g, clause, strRet, &newPos, &value, 1)) - i = newPos; - else - { - strcpy (Head, strRet); - strcpy (Tail, strRet + newPos); - Head[i] = '\0'; - - sprintf(strRet, "%s%d%s", Head, value, Tail); - while (isalpha(strRet[i])) i++; - } - } -} -#endif - /* * GameMatchesFormula() converts parameters to a game structure and * passes a pointer to this game to CheckFormula() for evaluation. It -- cgit v1.2.3