From 900d24ef71671e0f9dfca26e58857d79e7ece1b1 Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 19 Feb 2021 02:53:56 -0300 Subject: [PATCH] Delete : unused variable --- games/naval_battle.c | 1 - 1 file changed, 1 deletion(-) diff --git a/games/naval_battle.c b/games/naval_battle.c index c1de2e2a..87f35719 100644 --- a/games/naval_battle.c +++ b/games/naval_battle.c @@ -441,7 +441,6 @@ void shoot(int mat[10][10], int line, int column) int calculateScore(int mat[10][10], int line, int column) { - int i, j, cont = 1; int c = 0, b = 0, e = 0, d = 0; if (mat[line][column] == 10)