diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-11-23 15:33:16 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-11-23 15:33:16 +0100 |
commit | 6676ceceab99c40b2e0393a87b3bea60798a1e39 (patch) | |
tree | c11a60e3de7e97abf8a6ebd9fe2f942432d2e4f4 /src/dht | |
parent | 97269512df1790b58a75d03282ab03332c92f952 (diff) | |
download | gnunet-6676ceceab99c40b2e0393a87b3bea60798a1e39.tar.gz gnunet-6676ceceab99c40b2e0393a87b3bea60798a1e39.zip |
-fix compiler warning
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/gnunet-service-dht_clients.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, | |||
1076 | + bd->data_size | 1076 | + bd->data_size |
1077 | + (get_path_length + bd->put_path_length) | 1077 | + (get_path_length + bd->put_path_length) |
1078 | * sizeof(struct GNUNET_DHT_PathElement); | 1078 | * sizeof(struct GNUNET_DHT_PathElement); |
1079 | #if SANITY_CHECKS > 1 | ||
1079 | bool truncated = (0 != (bd->ro & GNUNET_DHT_RO_TRUNCATED)); | 1080 | bool truncated = (0 != (bd->ro & GNUNET_DHT_RO_TRUNCATED)); |
1081 | #endif | ||
1080 | 1082 | ||
1081 | if (msize >= GNUNET_MAX_MESSAGE_SIZE) | 1083 | if (msize >= GNUNET_MAX_MESSAGE_SIZE) |
1082 | { | 1084 | { |