Fixed compilation warnings
This commit is contained in:
@ -9,7 +9,7 @@ int main() {
|
||||
} else if (x < y) {
|
||||
y += 1;
|
||||
} else {
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
int main() {
|
||||
int x = 0;
|
||||
switch(1) {
|
||||
switch(x) {
|
||||
case 1: x = 1; break;
|
||||
default: return;
|
||||
default: return 0;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user