Remove unused members from TPpContext.

The ErrMsg and ifloc members were unused or had no effect.
This commit is contained in:
David Neto 2015-07-24 08:12:36 -04:00 committed by Lei Zhang
parent d618070ab0
commit 1ee1f88b40
2 changed files with 2 additions and 4 deletions

View file

@ -551,8 +551,7 @@ int TPpContext::CPPif(TPpToken* ppToken)
{
int token = scanToken(ppToken);
elsetracker++;
if (! ifdepth++)
ifloc = ppToken->loc;
ifdepth++;
if (ifdepth > maxIfNesting) {
parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if", "");
return 0;