From 5423b5e041cff5ca83a027cd5fb5bbc9617c1223 Mon Sep 17 00:00:00 2001 From: Kyllian CHABANON Date: Thu, 10 Nov 2022 14:23:30 +0100 Subject: [PATCH] Correction d'erreurs --- SAE.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SAE.c b/SAE.c index 2f8ff2f..727346c 100644 --- a/SAE.c +++ b/SAE.c @@ -251,7 +251,7 @@ void gestionMenus(void) void ModificationAge(int tNoCarte[], int tage[], int nbelem) { - int pas, NoCarte, age; + int pas, NoCarte, age, trouve; printf("Entrez le numéro de la carte de l'adhérent recherché : "); scanf("%d",&NoCarte); pas = rechercheAdherant(tNoCarte, nbelem, NoCarte, &trouve); @@ -376,7 +376,7 @@ void AjoutPoints(int tNoCarte[], int tPointsCarte[], int tCarteActive[], int nbe else { printf("Ce numéro d'adhérant n'existe pas, veuillez réessayer\n"); - return -1; + return; } }