diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2024-10-25 16:43:44 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2024-10-25 16:43:44 +0200 |
commit | 9a1978e764630b7d98fce50d757f6f1ed5863610 (patch) | |
tree | ee7820b280e826d875b8af2233afc69ed27513b8 /src | |
parent | 69d4d7c860e1175f785d0b583525241389df4866 (diff) |
remove dead GNUNET_STRINGS_get_utf8_args(), just a NOP
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/taler-merchant-depositcheck.c | 5 | ||||
-rw-r--r-- | src/backend/taler-merchant-exchangekeyupdate.c | 5 | ||||
-rw-r--r-- | src/backend/taler-merchant-kyccheck.c | 5 | ||||
-rw-r--r-- | src/backend/taler-merchant-reconciliation.c | 5 | ||||
-rw-r--r-- | src/backend/taler-merchant-webhook.c | 5 | ||||
-rw-r--r-- | src/backend/taler-merchant-wirewatch.c | 5 | ||||
-rw-r--r-- | src/merchant-tools/taler-merchant-dbinit.c | 5 | ||||
-rw-r--r-- | src/merchant-tools/taler-merchant-passwd.c | 5 | ||||
-rw-r--r-- | src/merchant-tools/taler-merchant-setup-reserve.c | 5 |
9 files changed, 0 insertions, 45 deletions
diff --git a/src/backend/taler-merchant-depositcheck.c b/src/backend/taler-merchant-depositcheck.c index cfcae7d9..ebcdbc1d 100644 --- a/src/backend/taler-merchant-depositcheck.c +++ b/src/backend/taler-merchant-depositcheck.c @@ -1094,10 +1094,6 @@ main (int argc, }; enum GNUNET_GenericReturnValue ret; - if (GNUNET_OK != - GNUNET_STRINGS_get_utf8_args (argc, argv, - &argc, &argv)) - return EXIT_INVALIDARGUMENT; TALER_OS_init (); ret = GNUNET_PROGRAM_run ( argc, argv, @@ -1106,7 +1102,6 @@ main (int argc, "background process that checks with the exchange on deposits that are past the wire deadline"), options, &run, NULL); - GNUNET_free_nz ((void *) argv); if (GNUNET_SYSERR == ret) return EXIT_INVALIDARGUMENT; if (GNUNET_NO == ret) diff --git a/src/backend/taler-merchant-exchangekeyupdate.c b/src/backend/taler-merchant-exchangekeyupdate.c index 07d01d11..c1eb11cc 100644 --- a/src/backend/taler-merchant-exchangekeyupdate.c +++ b/src/backend/taler-merchant-exchangekeyupdate.c @@ -1008,10 +1008,6 @@ main (int argc, }; enum GNUNET_GenericReturnValue ret; - if (GNUNET_OK != - GNUNET_STRINGS_get_utf8_args (argc, argv, - &argc, &argv)) - return EXIT_INVALIDARGUMENT; TALER_OS_init (); ret = GNUNET_PROGRAM_run ( argc, argv, @@ -1020,7 +1016,6 @@ main (int argc, "background process that ensures our key and configuration data on exchanges is up-to-date"), options, &run, NULL); - GNUNET_free_nz ((void *) argv); if (GNUNET_SYSERR == ret) return EXIT_INVALIDARGUMENT; if (GNUNET_NO == ret) diff --git a/src/backend/taler-merchant-kyccheck.c b/src/backend/taler-merchant-kyccheck.c index ae142511..0ef9a353 100644 --- a/src/backend/taler-merchant-kyccheck.c +++ b/src/backend/taler-merchant-kyccheck.c @@ -1451,10 +1451,6 @@ main (int argc, }; enum GNUNET_GenericReturnValue ret; - if (GNUNET_OK != - GNUNET_STRINGS_get_utf8_args (argc, argv, - &argc, &argv)) - return EXIT_INVALIDARGUMENT; TALER_OS_init (); ret = GNUNET_PROGRAM_run ( argc, argv, @@ -1463,7 +1459,6 @@ main (int argc, "background process that checks the KYC state of our bank accounts at various exchanges"), options, &run, NULL); - GNUNET_free_nz ((void *) argv); if (GNUNET_SYSERR == ret) return EXIT_INVALIDARGUMENT; if (GNUNET_NO == ret) diff --git a/src/backend/taler-merchant-reconciliation.c b/src/backend/taler-merchant-reconciliation.c index a90b34c3..0611204d 100644 --- a/src/backend/taler-merchant-reconciliation.c +++ b/src/backend/taler-merchant-reconciliation.c @@ -1252,10 +1252,6 @@ main (int argc, }; enum GNUNET_GenericReturnValue ret; - if (GNUNET_OK != - GNUNET_STRINGS_get_utf8_args (argc, argv, - &argc, &argv)) - return EXIT_INVALIDARGUMENT; TALER_OS_init (); ret = GNUNET_PROGRAM_run ( argc, argv, @@ -1264,7 +1260,6 @@ main (int argc, "background process that reconciles bank transfers with orders by asking the exchange"), options, &run, NULL); - GNUNET_free_nz ((void *) argv); if (GNUNET_SYSERR == ret) return EXIT_INVALIDARGUMENT; if (GNUNET_NO == ret) diff --git a/src/backend/taler-merchant-webhook.c b/src/backend/taler-merchant-webhook.c index f081aab5..d9910ade 100644 --- a/src/backend/taler-merchant-webhook.c +++ b/src/backend/taler-merchant-webhook.c @@ -567,10 +567,6 @@ main (int argc, }; enum GNUNET_GenericReturnValue ret; - if (GNUNET_OK != - GNUNET_STRINGS_get_utf8_args (argc, argv, - &argc, &argv)) - return EXIT_INVALIDARGUMENT; TALER_OS_init (); ret = GNUNET_PROGRAM_run ( argc, argv, @@ -579,7 +575,6 @@ main (int argc, "background process that executes webhooks"), options, &run, NULL); - GNUNET_free_nz ((void *) argv); if (GNUNET_SYSERR == ret) return EXIT_INVALIDARGUMENT; if (GNUNET_NO == ret) diff --git a/src/backend/taler-merchant-wirewatch.c b/src/backend/taler-merchant-wirewatch.c index bba101e3..fa6d009e 100644 --- a/src/backend/taler-merchant-wirewatch.c +++ b/src/backend/taler-merchant-wirewatch.c @@ -728,10 +728,6 @@ main (int argc, }; enum GNUNET_GenericReturnValue ret; - if (GNUNET_OK != - GNUNET_STRINGS_get_utf8_args (argc, argv, - &argc, &argv)) - return EXIT_INVALIDARGUMENT; TALER_OS_init (); do { config_changed_flag = false; @@ -744,7 +740,6 @@ main (int argc, &run, NULL); } while ( (1 == persist_mode) && config_changed_flag); - GNUNET_free_nz ((void *) argv); if (GNUNET_SYSERR == ret) return EXIT_INVALIDARGUMENT; if (GNUNET_NO == ret) diff --git a/src/merchant-tools/taler-merchant-dbinit.c b/src/merchant-tools/taler-merchant-dbinit.c index b12c8d23..aaabdcbe 100644 --- a/src/merchant-tools/taler-merchant-dbinit.c +++ b/src/merchant-tools/taler-merchant-dbinit.c @@ -110,17 +110,12 @@ 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 4; ret = GNUNET_PROGRAM_run ( argc, argv, "taler-merchant-dbinit", gettext_noop ("Initialize Taler merchant database"), options, &run, NULL); - GNUNET_free_nz ((void *) argv); if (GNUNET_SYSERR == ret) return 3; if (GNUNET_NO == ret) diff --git a/src/merchant-tools/taler-merchant-passwd.c b/src/merchant-tools/taler-merchant-passwd.c index bcb856e5..a5dd8cf2 100644 --- a/src/merchant-tools/taler-merchant-passwd.c +++ b/src/merchant-tools/taler-merchant-passwd.c @@ -175,17 +175,12 @@ 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 4; ret = GNUNET_PROGRAM_run ( argc, argv, "taler-merchant-passwd", gettext_noop ("Reset instance password"), options, &run, NULL); - GNUNET_free_nz ((void *) argv); if (GNUNET_SYSERR == ret) return 3; if (GNUNET_NO == ret) diff --git a/src/merchant-tools/taler-merchant-setup-reserve.c b/src/merchant-tools/taler-merchant-setup-reserve.c index 46888171..f28c0fd3 100644 --- a/src/merchant-tools/taler-merchant-setup-reserve.c +++ b/src/merchant-tools/taler-merchant-setup-reserve.c @@ -416,17 +416,12 @@ 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 4; ret = GNUNET_PROGRAM_run ( argc, argv, "taler-merchant-setup-reserve", gettext_noop ("Setup reserve for tipping"), options, &run, NULL); - GNUNET_free_nz ((void *) argv); if (GNUNET_SYSERR == ret) return 3; if (GNUNET_NO == ret) |