Permalink
Browse files

Eliminate warning for unused parameter.

  • Loading branch information...
Darren Hiebert
Darren Hiebert committed Jun 28, 2009
1 parent d480bd4 commit 1ba210fb2821139496ce2da1ca6ab40d8c11705b
Showing with 2 additions and 3 deletions.
  1. +2 −3 vhdl.c
View
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);

0 comments on commit 1ba210f

Please sign in to comment.