diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-27 14:11:13 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-28 13:42:44 +0200 |
commit | 5637e973bf5f3975d3a942e46dc37245fc22361a (patch) | |
tree | d9291630cf39b66c3171219bf5b1d557b0c87d69 | |
parent | 5b75566ce9a68f7b954382a45272695f34abef92 (diff) | |
download | calcurse-5637e973bf5f3975d3a942e46dc37245fc22361a.tar.gz calcurse-5637e973bf5f3975d3a942e46dc37245fc22361a.zip |
Remove superfluous buffer variable from help_arg()
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rw-r--r-- | src/args.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 <misc@calcurse.org>.\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); } |