summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-07-27 14:11:13 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-07-28 13:42:44 +0200
commit5637e973bf5f3975d3a942e46dc37245fc22361a (patch)
treed9291630cf39b66c3171219bf5b1d557b0c87d69 /src
parent5b75566ce9a68f7b954382a45272695f34abef92 (diff)
downloadcalcurse-5637e973bf5f3975d3a942e46dc37245fc22361a.tar.gz
calcurse-5637e973bf5f3975d3a942e46dc37245fc22361a.zip
Remove superfluous buffer variable from help_arg()
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src')
-rw-r--r--src/args.c5
1 files changed, 1 insertions, 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 <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);
}