use pragma section to suppress
error: 'yy_fatal_error' defined but not used
message

Signed-off-by: Ivana Hutarova Varekova <varek...@redhat.com>
---

 src/lex.l |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/lex.l b/src/lex.l
index c1014c5..d41d9ed 100644
--- a/src/lex.l
+++ b/src/lex.l
@@ -16,6 +16,8 @@
 #include <libcgroup.h>
 #include <libcgroup-internal.h>
 #include "parse.h"
+#pragma GCC diagnostic ignored "-Wunused-function"
+
 int line_no = 1;
 jmp_buf parser_error_env;
 


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to