From 314ec686db9fd56e78acca38c355738c1774d921 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 19 Nov 2017 14:11:30 +0100 Subject: [PATCH] Default to release compilation type. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- Makefile | 4 ++-- lib/othello.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8502017..639170d 100644 --- a/Makefile +++ b/Makefile @@ -22,8 +22,8 @@ SRC_PATH:=src LIBRARY_NAME:=lib$(BINARY_NAME) LIBRARY_PATH:=lib LDLIBS:=-l$(BINARY_NAME) -lncurses -ltinfo -BUILD_TYPE:=debug -#BUILD_TYPE:=release +#BUILD_TYPE:=debug +BUILD_TYPE:=release # ==================================== # DO NOT CHANGE STUFF BEYOND THIS LINE diff --git a/lib/othello.c b/lib/othello.c index cbc7e4f..9138961 100644 --- a/lib/othello.c +++ b/lib/othello.c @@ -303,7 +303,6 @@ void free_shots_list(struct shots_list_s* shots_list) { list_del(&(list_counter->list)); free(list_counter); } - } void build_playable_shots_list(unsigned int current_player, struct shots_list_s* shots_list, unsigned int pawn_array[board_size][board_size]) { -- 2.34.1