From c8bf65f07e235360835f4c3a97ba7f10ccfa0030 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 19 May 2009 11:29:40 +0200 Subject: [PATCH] remove useless variable. * src/getargs.c (skeleton_arg): Remove now useless variable. Should help the compiler see that this printf-like call is sane. --- ChangeLog | 6 ++++++ src/getargs.c | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) 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 -- 2.45.2