From: Jérôme Benoit Date: Sun, 19 Nov 2017 13:11:30 +0000 (+0100) Subject: Default to release compilation type. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=314ec686db9fd56e78acca38c355738c1774d921;p=Project_algorithmic_C.git Default to release compilation type. Signed-off-by: Jérôme Benoit --- 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]) {