gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-donau] branch master updated: [lib] remove unused variables


From: gnunet
Subject: [taler-donau] branch master updated: [lib] remove unused variables
Date: Thu, 22 Feb 2024 10:31:03 +0100

This is an automated email from the git hooks/post-receive script.

lukas-matyja pushed a commit to branch master
in repository donau.

The following commit(s) were added to refs/heads/master by this push:
     new 1bd2c71  [lib] remove unused variables
1bd2c71 is described below

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

    [lib] remove unused variables
---
 src/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
index d8cf98d..44825aa 100644
--- 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,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]