From 8b350efed2dc889dfb22a53fddc0b0897f2006ba Mon Sep 17 00:00:00 2001 From: COLIN Cyril Date: Wed, 13 Nov 2019 13:11:16 +0100 Subject: [PATCH] suppression de `-Werror' des drapeaux de compilation --- partage/Makefile | 2 +- partage/src/extremite.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/partage/Makefile b/partage/Makefile index cd365fe..2acdc80 100644 --- a/partage/Makefile +++ b/partage/Makefile @@ -1,4 +1,4 @@ -CC := gcc -Wall -Wextra -Wpedantic -Werror -Wshadow=local -Iinclude -Isrc -g -std=c11 +CC := gcc -Wall -Wextra -Wpedantic -Wshadow=local -Iinclude -Isrc -g -std=c11 # pkg-config # LIBS := diff --git a/partage/src/extremite.c b/partage/src/extremite.c index 044096f..b3147ce 100644 --- a/partage/src/extremite.c +++ b/partage/src/extremite.c @@ -122,9 +122,6 @@ int ext_in(const char addr[], int port) { void ext_bidir(const char addr[], int port, int in, int out) { - (void) in; - (void) out; - pid_t pid = fork(); if (pid == 0) { ext_in(addr, port);