diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-23 15:36:16 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-23 15:36:16 +0200 |
commit | 687e8c324f6f506a5ce7967890b7beb0943280d6 (patch) | |
tree | 2216c96dac7e24d84f3b2c4c6871c12d22fcb143 | |
parent | 1d7441fb137a2bce385c81d411e8ef38a509aca8 (diff) | |
download | merchant-687e8c324f6f506a5ce7967890b7beb0943280d6.tar.gz merchant-687e8c324f6f506a5ce7967890b7beb0943280d6.zip |
fix warning
-rw-r--r-- | src/merchant-tools/taler-merchant-benchmark.c | 9 |
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 | |||
75 | /** | 75 | /** |
76 | * Help string shown if NO subcommand is given on command line. | 76 | * Help string shown if NO subcommand is given on command line. |
77 | */ | 77 | */ |
78 | int root_help; | 78 | static int root_help; |
79 | 79 | ||
80 | /** | 80 | /** |
81 | * Witnesses if the ordinary cases payment suite should be run. | 81 | * Witnesses if the ordinary cases payment suite should be run. |
82 | */ | 82 | */ |
83 | unsigned int ordinary; | 83 | static unsigned int ordinary; |
84 | 84 | ||
85 | /** | 85 | /** |
86 | * Witnesses if the corner cases payment suite should be run. | 86 | * Witnesses if the corner cases payment suite should be run. |
87 | */ | 87 | */ |
88 | unsigned int corner; | 88 | static unsigned int corner; |
89 | 89 | ||
90 | /** | 90 | /** |
91 | * Root help string. | 91 | * Root help string. |
92 | */ | 92 | */ |
93 | char *root_help_str = \ | 93 | static const char *root_help_str = \ |
94 | "taler-merchant-benchmark\nPopulates production database" | 94 | "taler-merchant-benchmark\nPopulates production database" |
95 | " with fake payments.\nMust be used with either 'ordinary'" | 95 | " with fake payments.\nMust be used with either 'ordinary'" |
96 | " or 'corner' sub-commands.\n"; | 96 | " or 'corner' sub-commands.\n"; |
@@ -738,6 +738,7 @@ main (int argc, | |||
738 | if (GNUNET_YES == root_help) | 738 | if (GNUNET_YES == root_help) |
739 | { | 739 | { |
740 | fprintf (stdout, | 740 | fprintf (stdout, |
741 | "%s", | ||
741 | root_help_str); | 742 | root_help_str); |
742 | return 0; | 743 | return 0; |
743 | } | 744 | } |