From: Akim Demaille Date: Tue, 19 May 2009 09:29:40 +0000 (+0200) Subject: remove useless variable. X-Git-Tag: v2.5_rc1~236 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/c8bf65f07e235360835f4c3a97ba7f10ccfa0030 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 93c08536..a46ff2ba 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-11 Akim Demaille doc: use C++ headers. diff --git a/src/getargs.c b/src/getargs.c index 962dad4d..3852de04 100644 --- a/src/getargs.c +++ b/src/getargs.c @@ -379,11 +379,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