aboutsummaryrefslogtreecommitdiff
path: root/src/merchant-tools
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-23 15:36:16 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-23 15:36:16 +0200
commit687e8c324f6f506a5ce7967890b7beb0943280d6 (patch)
tree2216c96dac7e24d84f3b2c4c6871c12d22fcb143 /src/merchant-tools
parent1d7441fb137a2bce385c81d411e8ef38a509aca8 (diff)
fix warning
Diffstat (limited to 'src/merchant-tools')
-rw-r--r--src/merchant-tools/taler-merchant-benchmark.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/merchant-tools/taler-merchant-benchmark.c b/src/merchant-tools/taler-merchant-benchmark.c
index 58d4ac8a..289da241 100644
--- 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;
}