From d6037b28677e569257ed3d01a9cab5d0e646406d Mon Sep 17 00:00:00 2001 From: Anri Kennel Date: Thu, 25 Mar 2021 10:43:18 +0100 Subject: [PATCH] fix warning --- blackjack.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/blackjack.c b/blackjack.c index 7175221..e2aa1bc 100644 --- a/blackjack.c +++ b/blackjack.c @@ -72,6 +72,8 @@ int real_value(int nb) { } else if (nb == 13 || nb == 26 || nb == 39 || nb == 52) { return 10; } + + return 0; } char real_color(int nb) { @@ -92,6 +94,8 @@ int victory(int sum) { } else if (sum > 21) { return 1; } + + return 0; } void draw_card(int value, char couleur) {