From cef615520d499bed9b846bb1aaf7baecaa9ebcd5 Mon Sep 17 00:00:00 2001 From: Yannis DOUMIR FERNANDES Date: Tue, 24 Oct 2023 08:45:41 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'src/app/core=5Flog?= =?UTF-8?q?ic/responsable.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/core_logic/responsable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/core_logic/responsable.c b/src/app/core_logic/responsable.c index 8be0ff7..701a61c 100644 --- a/src/app/core_logic/responsable.c +++ b/src/app/core_logic/responsable.c @@ -10,6 +10,7 @@ int chargementArticles(int tRef[], float tPoids[], float tVol[], float tPrix[], if ( fe == NULL) { perror("fopen"); + return -1; } while ( fscanf(fe,"%d %f %f %f", &ref, &poids, &volume, &prix) == 4) {