diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-30 21:45:31 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-30 21:45:31 +0100 |
commit | 81ede40229dc016d18af225646f6f9a1b16bd03a (patch) | |
tree | 7006521a319d2ae01130c5edd9091580dcd13a08 /src/merchant-tools/taler-merchant-benchmark.c | |
parent | 09c40af96fa338f6ba57a24df7d43b65384420f9 (diff) |
remove dead options
Diffstat (limited to 'src/merchant-tools/taler-merchant-benchmark.c')
-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 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) |