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:
dhiebert 2009-06-28 16:30:57 +00:00
parent 925ea3218c
commit d8c1ccc5eb
1 changed files with 2 additions and 3 deletions

5
vhdl.c
View File

@ -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);