From: Jérôme Benoit Date: Fri, 2 Mar 2018 13:28:29 +0000 (+0100) Subject: Merge branch 'master' of git.piment-noir.org:Project_algorithmic_C X-Git-Url: https://git.piment-noir.org/?p=Project_algorithmic_C.git;a=commitdiff_plain;h=ad6a51755d794cfc48606947c3b85da3fcb0998f;hp=139bf34c40083fba6cd4b104cbc278a7b980bcf2 Merge branch 'master' of git.piment-noir.org:Project_algorithmic_C --- 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]) {