remove useless variable.

* src/getargs.c (skeleton_arg): Remove now useless variable.
	Should help the compiler see that this printf-like call is sane.
This commit is contained in:
Akim Demaille
2009-05-19 11:29:40 +02:00
parent 4c6622c2dd
commit 9b04dad70a
2 changed files with 7 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
2009-05-19 Akim Demaille <demaille@gostai.com>
remove useless variable.
* src/getargs.c (skeleton_arg): Remove now useless variable.
Should help the compiler see that this printf-like call is sane.
2009-05-15 Akim Demaille <demaille@gostai.com>
Rename token.prefix as api.tokens.prefix.

View File

@@ -385,11 +385,7 @@ skeleton_arg (char const *arg, int prio, location loc)
skeleton = arg;
}
else if (prio == skeleton_prio)
{
char const *msg =
_("multiple skeleton declarations are invalid");
complain_at (loc, msg);
}
complain_at (loc, _("multiple skeleton declarations are invalid"));
}
void