From 5637e973bf5f3975d3a942e46dc37245fc22361a Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 27 Jul 2011 14:11:13 +0200 Subject: Remove superfluous buffer variable from help_arg() Signed-off-by: Lukas Fleischer --- src/args.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/args.c b/src/args.c index c16e45d..640b68b 100644 --- a/src/args.c +++ b/src/args.c @@ -88,7 +88,6 @@ version_arg () static void help_arg () { - char htitle[BUFSIZ]; char *htext = _("\nMiscellaneous:\n" " -h, --help\n" @@ -146,9 +145,7 @@ help_arg () "or read the manpage.\n" "Mail bug reports and suggestions to .\n"); - (void)snprintf (htitle, BUFSIZ, _("Calcurse %s - text-based organizer\n"), - VERSION); - fputs (htitle, stdout); + fprintf (stdout, _("Calcurse %s - text-based organizer\n"), VERSION); usage (); fputs (htext, stdout); } -- cgit v1.2.3-70-g09d2