From: Akim Demaille Date: Tue, 19 May 2009 09:29:40 +0000 (+0200) Subject: remove useless variable. X-Git-Tag: v2.7.90~870 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/9b04dad70ab2304d86175b002db6594ec653ae47 remove useless variable. * src/getargs.c (skeleton_arg): Remove now useless variable. Should help the compiler see that this printf-like call is sane. --- diff --git a/ChangeLog b/ChangeLog index 71cf3a8a..9ae746fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-05-19 Akim Demaille + + 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 Rename token.prefix as api.tokens.prefix. diff --git a/src/getargs.c b/src/getargs.c index e5b016a6..6f956926 100644 --- a/src/getargs.c +++ b/src/getargs.c @@ -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