Document intentional fallthroughs.
Found by: Coverity scan.
This commit is contained in:
parent
8f95eae423
commit
9ee5ae1fae
11 changed files with 17 additions and 2 deletions
|
@ -280,10 +280,13 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
|
|||
{
|
||||
case 'g':
|
||||
shift += 10;
|
||||
/* Fallthrough. */
|
||||
case 'm':
|
||||
shift += 10;
|
||||
/* Fallthrough. */
|
||||
case 'k':
|
||||
shift += 10;
|
||||
/* Fallthrough. */
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue