commit 1554436ad2c43562fd7202a47335e7a3c08ca9ce
parent bc78b41863a243f5f3739ee920a6ae12f7392cf1
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Thu, 2 Apr 2020 09:42:15 +0200
Fix warnings
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/stardis-parsing.c b/src/stardis-parsing.c
@@ -364,7 +364,6 @@ short_help
const char* prog)
{
char* name;
- char buf[128];
ASSERT(stream && prog);
#ifdef COMPILER_GCC
@@ -429,7 +428,7 @@ short_help
fprintf(stream, " Change the required computation to produce the green function.\n");
fprintf(stream, "\n -h\n");
- fprintf(stream, " Print this help and exit.\n", name);
+ fprintf(stream, " Print this help and exit.\n");
fprintf(stream, "\n -n SAMPLE_COUNT\n");
fprintf(stream, " Set the number of Monte-Carlo samples.\n");
@@ -441,7 +440,7 @@ short_help
fprintf(stream, " Hint on the number of threads.\n");
fprintf(stream, "\n -v\n");
- fprintf(stream, " Print version information and exit.\n", name);
+ fprintf(stream, " Print version information and exit.\n");
fprintf(stream, "\n -V LEVEL\n");
fprintf(stream, " Set the verbosity level.\n");