Remove pragmas related to -Wunreachable-code

-Wunreachable-code has been a no-op since GCC 4.5; GRUB hasn't been
compiled with it since 2012; and GCC 6 produces "error:
'-Wunreachable-code' is not an option that controls warnings" for these.

Fixes Debian bug #812047.
This commit is contained in:
Colin Watson 2016-01-20 15:56:55 +00:00
parent 92bbf25714
commit 47e67d809c
2 changed files with 0 additions and 2 deletions

View file

@ -30,7 +30,6 @@
#include "grub_script.tab.h"
#pragma GCC diagnostic ignored "-Wunreachable-code"
#pragma GCC diagnostic ignored "-Wmissing-declarations"
%}