Eliminate warning for unused parameter.
git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@705 c5d04d22-be80-434c-894e-aa346cc9e8e8
This commit is contained in:
parent
925ea3218c
commit
d8c1ccc5eb
5
vhdl.c
5
vhdl.c
|
@ -669,10 +669,9 @@ static void parseTypes (tokenInfo * const token)
|
|||
deleteToken (name);
|
||||
}
|
||||
|
||||
static void parseConstant (tokenInfo * const token, boolean local)
|
||||
static void parseConstant (boolean local)
|
||||
{
|
||||
tokenInfo *const name = newToken ();
|
||||
Assert (isKeyword (token, KEYWORD_CONSTANT));
|
||||
readToken (name);
|
||||
if (local)
|
||||
{
|
||||
|
@ -773,7 +772,7 @@ static void parseKeywords (tokenInfo * const token, boolean local)
|
|||
fileSkipToCharacter (';');
|
||||
break;
|
||||
case KEYWORD_CONSTANT:
|
||||
parseConstant (token, local);
|
||||
parseConstant (local);
|
||||
break;
|
||||
case KEYWORD_TYPE:
|
||||
parseTypes (token);
|
||||
|
|
Loading…
Reference in New Issue