Remove superfluous buffer variable from help_arg()

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-07-27 14:11:13 +02:00
parent 5b75566ce9
commit 5637e973bf

View File

@ -88,7 +88,6 @@ version_arg ()
static void static void
help_arg () help_arg ()
{ {
char htitle[BUFSIZ];
char *htext = char *htext =
_("\nMiscellaneous:\n" _("\nMiscellaneous:\n"
" -h, --help\n" " -h, --help\n"
@ -146,9 +145,7 @@ help_arg ()
"or read the manpage.\n" "or read the manpage.\n"
"Mail bug reports and suggestions to <misc@calcurse.org>.\n"); "Mail bug reports and suggestions to <misc@calcurse.org>.\n");
(void)snprintf (htitle, BUFSIZ, _("Calcurse %s - text-based organizer\n"), fprintf (stdout, _("Calcurse %s - text-based organizer\n"), VERSION);
VERSION);
fputs (htitle, stdout);
usage (); usage ();
fputs (htext, stdout); fputs (htext, stdout);
} }