mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-22 05:21:49 +03:00
Delete : unnecessary if
This commit is contained in:
parent
5bf3c34f51
commit
d756a70611
@ -113,11 +113,8 @@ int canShoot(int mat[10][10], int line, int column)
|
||||
return 0;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @brief Function positionBoat
|
||||
* Responsible for placing the boats on the board, according to the size.
|
||||
|
Loading…
Reference in New Issue
Block a user