Fixed compilation warnings

This commit is contained in:
François Autin
2023-03-01 13:56:12 +01:00
parent 8c737f4c42
commit f6ff30b63c
7 changed files with 9 additions and 8 deletions

View File

@ -9,7 +9,7 @@ int main() {
} else if (x < y) {
y += 1;
} else {
return;
return 0;
}
}
}

View File

@ -1,7 +1,7 @@
int main() {
int x = 0;
switch(1) {
switch(x) {
case 1: x = 1; break;
default: return;
default: return 0;
}
}