widl [1/7]: Fix warning about unused structure field in lexer.
Dan Hipschman
dsh at linux.ucla.edu
Wed Sep 13 18:28:39 CDT 2006
This series of pathces just enables us to build widl with -W and not get
any complaints from the compiler. Even if we don't build with -W, at least
it cleans up some code and in one case (the second to last one), fixes a
bug.
This one gets rid of a hundred or so like this:
parser.l:177: warning: missing initializer
ChangeLog:
* Remove an unused structure field (and warnings about not initializing it).
---
tools/widl/parser.l | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/tools/widl/parser.l b/tools/widl/parser.l
index 21faf7b..17c97b8 100644
--- a/tools/widl/parser.l
+++ b/tools/widl/parser.l
@@ -171,7 +171,6 @@ #endif
static struct keyword {
const char *kw;
int token;
- int val;
} keywords[] = {
{"FALSE", tFALSE},
{"TRUE", tTRUE},
More information about the wine-patches
mailing list