mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
Commented out two broken lines in learnc.c
This commit is contained in:
parent
68c477ff9d
commit
50fe4d9859
@ -281,10 +281,10 @@ int main() {
|
||||
// branching with multiple choices: switch()
|
||||
switch (a) {
|
||||
case 0: // labels need to be integral *constant* expressions
|
||||
do_stuff();
|
||||
//do_stuff();
|
||||
break; // if you don't break, control flow falls over labels
|
||||
case 1:
|
||||
do_something_else();
|
||||
//do_something_else();
|
||||
break;
|
||||
default:
|
||||
// if `some_integral_expression` didn't match any of the labels
|
||||
|
Loading…
Reference in New Issue
Block a user