map: removed unused variable j

This commit is contained in:
Quinten 2025-04-22 14:20:10 +02:00
parent 8f9347d2e7
commit 74b7eb17ee

View File

@ -220,12 +220,12 @@ int map_create(t_game **game, int argc, char **argv)
void map_free(t_map *map) void map_free(t_map *map)
{ {
int i; int i;
int j; //int j;
i = 0; i = 0;
while (i < map->height) while (i < map->height)
{ {
j = 0; //j = 0;
free(map->grid[i]); free(map->grid[i]);
i++; i++;
} }