yylex: Explicilty cast fprintf to void.

It's needed to avoid warning on recent GCC.
This commit is contained in:
Vladimir Serbinenko 2017-08-14 14:11:43 +02:00
parent 3732816bc0
commit c36c2a8640

View file

@ -91,7 +91,7 @@ typedef size_t yy_size_t;
#define stdin 0 #define stdin 0
#define stdout 0 #define stdout 0
#define fprintf(...) 0 #define fprintf(...) (void)0
#define exit(...) grub_fatal("fatal error in lexer") #define exit(...) grub_fatal("fatal error in lexer")
#endif #endif