gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant] branch master updated: fix warning


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: fix warning
Date: Wed, 23 Oct 2019 15:36:18 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 687e8c3  fix warning
687e8c3 is described below

commit 687e8c324f6f506a5ce7967890b7beb0943280d6
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Oct 23 15:36:16 2019 +0200

    fix warning
---
 src/merchant-tools/taler-merchant-benchmark.c | 9 +++++----
 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
index 58d4ac8..289da24 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;
     }

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]