From f6b438c0f8c3ab2db8ceba7522ee5c8f96cec91f Mon Sep 17 00:00:00 2001 From: Timo Schmidt Date: Sat, 1 Apr 2023 02:16:41 +0200 Subject: [PATCH] Unneccesary braces --- ex08/ft_ten_queens_puzzle.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ex08/ft_ten_queens_puzzle.c b/ex08/ft_ten_queens_puzzle.c index 4fa456c..5ef3e29 100644 --- a/ex08/ft_ten_queens_puzzle.c +++ b/ex08/ft_ten_queens_puzzle.c @@ -6,7 +6,7 @@ /* By: tosuman +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/03/30 17:05:04 by tosuman #+# #+# */ -/* Updated: 2023/03/30 17:05:06 by tosuman ### ########.fr */ +/* Updated: 2023/04/01 02:15:31 by tischmid ### ########.fr */ /* */ /* ************************************************************************** */ @@ -45,10 +45,8 @@ int is_valid_board(int cols[SIZE], int col) return (0); i = 0; while (++i < SIZE - cols[col] && i <= col) - { if (cols[col - i] == cols[col] + i) return (0); - } return (1); }