Enable -Wformat=2 if it's supported.
This commit is contained in:
parent
bbac6789aa
commit
ae558c2ccf
15 changed files with 57 additions and 1 deletions
|
@ -183,6 +183,8 @@ draw_pixmap_bar (grub_gui_progress_bar_t self)
|
|||
}
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
|
||||
|
||||
static void
|
||||
draw_text (grub_gui_progress_bar_t self)
|
||||
{
|
||||
|
@ -212,6 +214,8 @@ draw_text (grub_gui_progress_bar_t self)
|
|||
}
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic error "-Wformat-nonliteral"
|
||||
|
||||
static void
|
||||
progress_bar_paint (void *vself, const grub_video_rect_t *region)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue