Remove an unused variable from readCPPline()

This causes problems with -Wunused-but-set-variable in GCC 4.6. Review: http://codereview.appspot.com/6296o59/ Author: Steve Block git-svn-id: https://angleproject.googlecode.com/svn/trunk@1147 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 3ce8dbcd
...@@ -17,6 +17,7 @@ Google Inc. ...@@ -17,6 +17,7 @@ Google Inc.
Brent Austin Brent Austin
Michael Bai Michael Bai
John Bauman John Bauman
Steve Block
Henry Bridge Henry Bridge
Nat Duca Nat Duca
Vangelis Kokkevis Vangelis Kokkevis
......
#define MAJOR_VERSION 1 #define MAJOR_VERSION 1
#define MINOR_VERSION 0 #define MINOR_VERSION 0
#define BUILD_VERSION 0 #define BUILD_VERSION 0
#define BUILD_REVISION 1143 #define BUILD_REVISION 1147
#define STRINGIFY(x) #x #define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x) #define MACRO_STRINGIFY(x) STRINGIFY(x)
......
...@@ -784,7 +784,6 @@ int readCPPline(yystypepp * yylvalpp) ...@@ -784,7 +784,6 @@ int readCPPline(yystypepp * yylvalpp)
{ {
int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp);
const char *message; const char *message;
int isVersion = 0;
if (token == CPP_IDENTIFIER) { if (token == CPP_IDENTIFIER) {
if (yylvalpp->sc_ident == defineAtom) { if (yylvalpp->sc_ident == defineAtom) {
...@@ -861,7 +860,6 @@ int readCPPline(yystypepp * yylvalpp) ...@@ -861,7 +860,6 @@ int readCPPline(yystypepp * yylvalpp)
token = CPPerror(yylvalpp); token = CPPerror(yylvalpp);
} else if (yylvalpp->sc_ident == versionAtom) { } else if (yylvalpp->sc_ident == versionAtom) {
token = CPPversion(yylvalpp); token = CPPversion(yylvalpp);
isVersion = 1;
} else if (yylvalpp->sc_ident == extensionAtom) { } else if (yylvalpp->sc_ident == extensionAtom) {
token = CPPextension(yylvalpp); token = CPPextension(yylvalpp);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment