aboutsummaryrefslogtreecommitdiff
path: root/src/merchant-tools
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-10-30 21:45:31 +0100
committerChristian Grothoff <christian@grothoff.org>2020-10-30 21:45:31 +0100
commit81ede40229dc016d18af225646f6f9a1b16bd03a (patch)
tree7006521a319d2ae01130c5edd9091580dcd13a08 /src/merchant-tools
parent09c40af96fa338f6ba57a24df7d43b65384420f9 (diff)
remove dead options
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 2e9c9a17..349de80f 100644
--- a/src/merchant-tools/taler-merchant-benchmark.c
+++ b/src/merchant-tools/taler-merchant-benchmark.c
@@ -373,8 +373,8 @@ int
main (int argc,
char *const *argv)
{
- char *loglev;
- char *logfile;
+ char *loglev = "INFO";
+ char *logfile = NULL;
char *exchange_account;
char *alt_instance_id;
struct GNUNET_OS_Process *bankd;
@@ -495,15 +495,16 @@ main (int argc,
argc,
argv);
if (GNUNET_SYSERR == result)
+ {
return PG_BAD_OPTIONS;
+ }
if (0 == result)
return PG_SUCCESS;
}
if ( (! ordinary) &&
(! corner) )
{
- fprintf (stderr,
- "Please use 'ordinary' or 'corner' subcommands.\n");
+ TALER_LOG_ERROR ("Please use 'ordinary' or 'corner' subcommands.\n");
return PG_NO_SUBCOMMAND;
}
if (NULL == cfg_filename)