*: Comment intentional fallthroughs

Falling through a switch case should be commented so it's clear that
behavior is intentional.
This commit is contained in:
James McCoy
2017-04-20 01:17:42 -04:00
parent d840ff7b70
commit 0ff959329b
6 changed files with 12 additions and 2 deletions

View File

@@ -1268,6 +1268,7 @@ static int command_line_handle_key(CommandLineState *s)
}
return command_line_changed(s);
}
// fallthrough
case K_UP:
case K_DOWN: