tictactoe

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 3f1ce423a6ecb591b45650303512340de08dbc13
parent 9f2d8a095f26cf60f5b0979dbfae93a10e2b4049
Author: Wilson Gheen <wilson@wilsonrgheen.com>
Date:   Thu, 22 Dec 2022 15:45:08 -0600

Remove pointless capturing of return value

Diffstat:
Mtictactoe.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tictactoe.h b/tictactoe.h @@ -178,7 +178,7 @@ char get_winning_move_else_block_else_random(char *board, char player) { static struct move minimax_best_move(char *board, char player, int *legal_moves, int lm_cnt) { char winning_moves[10] = ""; int i; - char winner = get_winner_or_winning_moves(board, winning_moves); + get_winner_or_winning_moves(board, winning_moves); int his_wm_cnt = 0; int blocking_move = -1; for(i=0; i < 9; i++) {