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
|
@ -1286,7 +1286,7 @@ blit_comb (const struct grub_unicode_glyph *glyph_id,
|
|||
- grub_font_get_xheight (combining_glyphs[i]->font) - 1;
|
||||
if (space <= 0)
|
||||
space = 1 + (grub_font_get_xheight (main_glyph->font)) / 8;
|
||||
|
||||
/* Fallthrough. */
|
||||
case GRUB_UNICODE_STACK_ATTACHED_ABOVE:
|
||||
do_blit (combining_glyphs[i], targetx,
|
||||
-(ctx.bounds.height + ctx.bounds.y + space
|
||||
|
@ -1327,6 +1327,7 @@ blit_comb (const struct grub_unicode_glyph *glyph_id,
|
|||
+ combining_glyphs[i]->height);
|
||||
if (space <= 0)
|
||||
space = 1 + (grub_font_get_xheight (main_glyph->font)) / 8;
|
||||
/* Fallthrough. */
|
||||
|
||||
case GRUB_UNICODE_STACK_ATTACHED_BELOW:
|
||||
do_blit (combining_glyphs[i], targetx, -(ctx.bounds.y - space),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue