donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit 05b07145229761205c4c245294b818df76c7c84f
parent 5ce8696d3eafd2858fc769a82cb3a2b602deb58c
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Fri, 25 Oct 2024 16:50:34 +0200

remove dead GNUNET_STRINGS_get_utf8_args(), just a NOP

Diffstat:
Msrc/donau-tools/donau-dbinit.c | 5-----
Msrc/util/donau-config.c | 5-----
2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/src/donau-tools/donau-dbinit.c b/src/donau-tools/donau-dbinit.c @@ -111,10 +111,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 #DONAU_OS_init(), which we do need */ @@ -125,7 +121,6 @@ main (int argc, gettext_noop ("Initialize Donau database"), options, &run, NULL); - GNUNET_free_nz ((void *) argv); if (GNUNET_SYSERR == ret) return EXIT_INVALIDARGUMENT; if (GNUNET_NO == ret) diff --git a/src/util/donau-config.c b/src/util/donau-config.c @@ -47,10 +47,6 @@ main (int argc, }; enum GNUNET_GenericReturnValue ret; - if (GNUNET_OK != - GNUNET_STRINGS_get_utf8_args (argc, argv, - &argc, &argv)) - return EXIT_FAILURE; TALER_OS_init (); ret = GNUNET_PROGRAM_run (argc, argv, @@ -60,7 +56,6 @@ main (int argc, options, &GNUNET_CONFIGURATION_config_tool_run, &cs); - GNUNET_free_nz ((void *) argv); GNUNET_CONFIGURATION_config_settings_free (&cs); if (GNUNET_NO == ret) return 0;