summaryrefslogtreecommitdiffhomepage
path: root/c.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'c.html.markdown')
-rw-r--r--c.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/c.html.markdown b/c.html.markdown
index bc9a959a..b0c77e16 100644
--- a/c.html.markdown
+++ b/c.html.markdown
@@ -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