commit 687e8c324f6f506a5ce7967890b7beb0943280d6
parent 1d7441fb137a2bce385c81d411e8ef38a509aca8
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 23 Oct 2019 15:36:16 +0200
fix warning
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/merchant-tools/taler-merchant-benchmark.c b/src/merchant-tools/taler-merchant-benchmark.c
@@ -75,22 +75,22 @@ enum PaymentGeneratorError
/**
* Help string shown if NO subcommand is given on command line.
*/
-int root_help;
+static int root_help;
/**
* Witnesses if the ordinary cases payment suite should be run.
*/
-unsigned int ordinary;
+static unsigned int ordinary;
/**
* Witnesses if the corner cases payment suite should be run.
*/
-unsigned int corner;
+static unsigned int corner;
/**
* Root help string.
*/
-char *root_help_str = \
+static const char *root_help_str = \
"taler-merchant-benchmark\nPopulates production database"
" with fake payments.\nMust be used with either 'ordinary'"
" or 'corner' sub-commands.\n";
@@ -738,6 +738,7 @@ main (int argc,
if (GNUNET_YES == root_help)
{
fprintf (stdout,
+ "%s",
root_help_str);
return 0;
}