gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -fix compiler warning


From: gnunet
Subject: [gnunet] branch master updated: -fix compiler warning
Date: Wed, 23 Nov 2022 15:33:19 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 6676cecea -fix compiler warning
6676cecea is described below

commit 6676ceceab99c40b2e0393a87b3bea60798a1e39
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Nov 23 15:33:16 2022 +0100

    -fix compiler warning
---
 src/dht/gnunet-service-dht_clients.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/dht/gnunet-service-dht_clients.c 
b/src/dht/gnunet-service-dht_clients.c
index b375758ba..90bb4d1f7 100644
--- a/src/dht/gnunet-service-dht_clients.c
+++ b/src/dht/gnunet-service-dht_clients.c
@@ -1076,7 +1076,9 @@ GDS_CLIENTS_handle_reply (const struct 
GNUNET_DATACACHE_Block *bd,
                  + bd->data_size
                  + (get_path_length + bd->put_path_length)
                  * sizeof(struct GNUNET_DHT_PathElement);
+#if SANITY_CHECKS > 1
   bool truncated = (0 != (bd->ro & GNUNET_DHT_RO_TRUNCATED));
+#endif
 
   if (msize >= GNUNET_MAX_MESSAGE_SIZE)
   {

-- 
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]