donau

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

commit 1bd2c713de799e729b0b28e91d89d01872bd1ab9
parent 33d6db94c42f8f47e41d655bbe9537ebcb6d2a9b
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
Date:   Thu, 22 Feb 2024 10:31:29 +0100

[lib] remove unused variables

Diffstat:
Msrc/lib/donau_api_charity_get.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/lib/donau_api_charity_get.c b/src/lib/donau_api_charity_get.c @@ -247,8 +247,6 @@ DONAU_charity_get ( cgh->charity_id = id; cgh->cb_cls = cb_cls; char arg_str[sizeof (id) * 2 + 32]; - char id_str[sizeof (id) * 2]; - char *end; char timeout_str[32]; GNUNET_snprintf (timeout_str, @@ -289,6 +287,10 @@ DONAU_charity_get ( curl_easy_setopt (eh, CURLOPT_TIMEOUT, 120 /* seconds */)); + GNUNET_assert (CURLE_OK == + curl_easy_setopt (eh, + CURLOPT_HEADERDATA, + cgh)); cgh->job = GNUNET_CURL_job_add (ctx, eh, &handle_charity_get_finished,