fix warning
This commit is contained in:
parent
22ff468598
commit
d6037b2867
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,8 @@ int real_value(int nb) {
|
||||||
} else if (nb == 13 || nb == 26 || nb == 39 || nb == 52) {
|
} else if (nb == 13 || nb == 26 || nb == 39 || nb == 52) {
|
||||||
return 10;
|
return 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
char real_color(int nb) {
|
char real_color(int nb) {
|
||||||
|
@ -92,6 +94,8 @@ int victory(int sum) {
|
||||||
} else if (sum > 21) {
|
} else if (sum > 21) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void draw_card(int value, char couleur) {
|
void draw_card(int value, char couleur) {
|
||||||
|
|
Reference in a new issue