projects
/
grub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3732816
)
yylex: Explicilty cast fprintf to void.
author
Vladimir Serbinenko
<phcoder@gmail.com>
Mon, 14 Aug 2017 12:11:43 +0000
(14:11 +0200)
committer
Vladimir Serbinenko
<phcoder@gmail.com>
Mon, 14 Aug 2017 12:11:43 +0000
(14:11 +0200)
It's needed to avoid warning on recent GCC.
grub-core/script/yylex.l
patch
|
blob
|
history
diff --git
a/grub-core/script/yylex.l
b/grub-core/script/yylex.l
index
95b2191
..
7b44c37
100644
(file)
--- a/
grub-core/script/yylex.l
+++ b/
grub-core/script/yylex.l
@@
-91,7
+91,7
@@
typedef size_t yy_size_t;
#define stdin 0
#define stdout 0
-#define fprintf(...) 0
+#define fprintf(...)
(void)
0
#define exit(...) grub_fatal("fatal error in lexer")
#endif