a5bd9f6
From b7ae222dae310111f17da6e1fc072237977ac417 Mon Sep 17 00:00:00 2001
a5bd9f6
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
a5bd9f6
Date: Wed, 5 Sep 2012 08:51:31 +0200
a5bd9f6
Subject: [PATCH 028/364] 	* grub-core/script/yylex.l: Ignore
a5bd9f6
 unused-function and sign-compare 	warnings.
a5bd9f6
a5bd9f6
---
a5bd9f6
 ChangeLog                | 5 +++++
a5bd9f6
 grub-core/script/yylex.l | 2 ++
a5bd9f6
 2 files changed, 7 insertions(+)
a5bd9f6
a5bd9f6
diff --git a/ChangeLog b/ChangeLog
a5bd9f6
index 70f0c86..66a0245 100644
a5bd9f6
--- a/ChangeLog
a5bd9f6
+++ b/ChangeLog
a5bd9f6
@@ -1,5 +1,10 @@
a5bd9f6
 2012-09-05  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
 
a5bd9f6
+	* grub-core/script/yylex.l: Ignore unused-function and sign-compare
a5bd9f6
+	warnings.
a5bd9f6
+
a5bd9f6
+2012-09-05  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
+
a5bd9f6
 	* grub-core/partmap/dvh.c (grub_dvh_is_valid): Add missing byteswap.
a5bd9f6
 
a5bd9f6
 2012-09-05  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
diff --git a/grub-core/script/yylex.l b/grub-core/script/yylex.l
a5bd9f6
index f6a39c5..8fdcfef 100644
a5bd9f6
--- a/grub-core/script/yylex.l
a5bd9f6
+++ b/grub-core/script/yylex.l
a5bd9f6
@@ -29,6 +29,8 @@
a5bd9f6
 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
a5bd9f6
 #pragma GCC diagnostic ignored "-Wmissing-declarations"
a5bd9f6
 #pragma GCC diagnostic ignored "-Wunsafe-loop-optimizations"
a5bd9f6
+#pragma GCC diagnostic ignored "-Wunused-function"
a5bd9f6
+#pragma GCC diagnostic ignored "-Wsign-compare"
a5bd9f6
 
a5bd9f6
 #define yyfree    grub_lexer_yyfree
a5bd9f6
 #define yyalloc   grub_lexer_yyalloc
a5bd9f6
-- 
a5bd9f6
1.8.1.4
a5bd9f6