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
|
@ -664,6 +664,7 @@ grub_legacy_parse (const char *buf, char **entryname, char **suffix)
|
|||
{
|
||||
case TYPE_FILE_NO_CONSUME:
|
||||
hold_arg = 1;
|
||||
/* Fallthrough. */
|
||||
case TYPE_PARTITION:
|
||||
case TYPE_FILE:
|
||||
args[i] = adjust_file (curarg, curarglen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue