Skip to content

Commit 464b3bc

Browse files
committed
Cxx: preparatory: correct naming of variable
1 parent b35c300 commit 464b3bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

parsers/cxx/cxx_parser.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,12 +1505,12 @@ void cxxParserAnalyzeOtherStatement(void)
15051505
// out its proper scope. Better avoid emitting this one.
15061506
CXX_DEBUG_PRINT("But it has been preceded by the 'friend' keyword: this is not a real prototype");
15071507
} else {
1508-
int piCorkQueueIndex;
1509-
int iScopesPushed = cxxParserEmitFunctionTags(&oInfo,CXXTagKindPROTOTYPE,CXXEmitFunctionTagsPushScopes, &piCorkQueueIndex);
1510-
if (piCorkQueueIndex != CORK_NIL)
1508+
int iCorkQueueIndex;
1509+
int iScopesPushed = cxxParserEmitFunctionTags(&oInfo,CXXTagKindPROTOTYPE,CXXEmitFunctionTagsPushScopes, &iCorkQueueIndex);
1510+
if (iCorkQueueIndex != CORK_NIL)
15111511
{
15121512
CXXToken * t = cxxTokenChainLast(g_cxx.pTokenChain);
1513-
cxxParserSetEndLineForTagInCorkQueue (piCorkQueueIndex, t->iLineNumber);
1513+
cxxParserSetEndLineForTagInCorkQueue (iCorkQueueIndex, t->iLineNumber);
15141514
}
15151515

15161516
if(bPrototypeParams)

0 commit comments

Comments
 (0)