aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-tools
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2024-10-25 16:41:21 +0200
committerChristian Grothoff <grothoff@gnunet.org>2024-10-25 16:41:21 +0200
commit0094aaffaf487555002907b661052a61e8dea5d2 (patch)
tree37e5e342ff80773ca88032e74a243e9f5ba9b47c /src/exchange-tools
parent758fdf14cb081404adc3cf4bf5bb61730dbffefe (diff)
remove dead GNUNET_STRINGS_get_utf8_args(), just a NOP
Diffstat (limited to 'src/exchange-tools')
-rw-r--r--src/exchange-tools/taler-auditor-offline.c5
-rw-r--r--src/exchange-tools/taler-exchange-dbinit.c5
-rw-r--r--src/exchange-tools/taler-exchange-kyc-trigger.c5
-rw-r--r--src/exchange-tools/taler-exchange-offline.c5
4 files changed, 0 insertions, 20 deletions
diff --git a/src/exchange-tools/taler-auditor-offline.c b/src/exchange-tools/taler-auditor-offline.c
index 8c280d46b..2eb4596b8 100644
--- a/src/exchange-tools/taler-auditor-offline.c
+++ b/src/exchange-tools/taler-auditor-offline.c
@@ -1470,10 +1470,6 @@ main (int argc,
};
enum GNUNET_GenericReturnValue ret;
- if (GNUNET_OK !=
- GNUNET_STRINGS_get_utf8_args (argc, argv,
- &argc, &argv))
- return EXIT_INVALIDARGUMENT;
/* force linker to link against libtalerutil; if we do
not do this, the linker may "optimize" libtalerutil
away and skip #TALER_OS_init(), which we do need */
@@ -1484,7 +1480,6 @@ main (int argc,
gettext_noop ("Operations for offline signing for a Taler exchange"),
options,
&run, NULL);
- GNUNET_free_nz ((void *) argv);
if (GNUNET_SYSERR == ret)
return EXIT_INVALIDARGUMENT;
if (GNUNET_NO == ret)
diff --git a/src/exchange-tools/taler-exchange-dbinit.c b/src/exchange-tools/taler-exchange-dbinit.c
index 7eb021a91..5fb587feb 100644
--- a/src/exchange-tools/taler-exchange-dbinit.c
+++ b/src/exchange-tools/taler-exchange-dbinit.c
@@ -195,10 +195,6 @@ main (int argc,
};
enum GNUNET_GenericReturnValue ret;
- if (GNUNET_OK !=
- GNUNET_STRINGS_get_utf8_args (argc, argv,
- &argc, &argv))
- return EXIT_INVALIDARGUMENT;
/* force linker to link against libtalerutil; if we do
not do this, the linker may "optimize" libtalerutil
away and skip #TALER_OS_init(), which we do need */
@@ -209,7 +205,6 @@ main (int argc,
gettext_noop ("Initialize Taler exchange database"),
options,
&run, NULL);
- GNUNET_free_nz ((void *) argv);
if (GNUNET_SYSERR == ret)
return EXIT_INVALIDARGUMENT;
if (GNUNET_NO == ret)
diff --git a/src/exchange-tools/taler-exchange-kyc-trigger.c b/src/exchange-tools/taler-exchange-kyc-trigger.c
index 5dc505c6a..db3455c43 100644
--- a/src/exchange-tools/taler-exchange-kyc-trigger.c
+++ b/src/exchange-tools/taler-exchange-kyc-trigger.c
@@ -304,10 +304,6 @@ main (int argc,
not do this, the linker may "optimize" libtalerutil
away and skip #TALER_OS_init(), which we do need */
(void) TALER_project_data_default ();
- if (GNUNET_OK !=
- GNUNET_STRINGS_get_utf8_args (argc, argv,
- &argc, &argv))
- return EXIT_INVALIDARGUMENT;
TALER_OS_init ();
ret = GNUNET_PROGRAM_run (
argc, argv,
@@ -316,7 +312,6 @@ main (int argc,
"Trigger KYC/AML measures based on high wallet balance for testing"),
options,
&run, NULL);
- GNUNET_free_nz ((void *) argv);
if (GNUNET_SYSERR == ret)
return EXIT_INVALIDARGUMENT;
if (GNUNET_NO == ret)
diff --git a/src/exchange-tools/taler-exchange-offline.c b/src/exchange-tools/taler-exchange-offline.c
index a7ae705fc..76d5ba3cc 100644
--- a/src/exchange-tools/taler-exchange-offline.c
+++ b/src/exchange-tools/taler-exchange-offline.c
@@ -5474,10 +5474,6 @@ main (int argc,
not do this, the linker may "optimize" libtalerutil
away and skip #TALER_OS_init(), which we do need */
(void) TALER_project_data_default ();
- if (GNUNET_OK !=
- GNUNET_STRINGS_get_utf8_args (argc, argv,
- &argc, &argv))
- return EXIT_INVALIDARGUMENT;
TALER_OS_init ();
ret = GNUNET_PROGRAM_run (
argc, argv,
@@ -5485,7 +5481,6 @@ main (int argc,
gettext_noop ("Operations for offline signing for a Taler exchange"),
options,
&run, NULL);
- GNUNET_free_nz ((void *) argv);
if (GNUNET_SYSERR == ret)
return EXIT_INVALIDARGUMENT;
if (GNUNET_NO == ret)