aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/peerinfo/gnunet-service-peerinfo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c
index fc953ad3e..b39627031 100644
--- a/src/peerinfo/gnunet-service-peerinfo.c
+++ b/src/peerinfo/gnunet-service-peerinfo.c
@@ -328,8 +328,7 @@ static void
328read_host_file (const char *fn, int unlink_garbage, struct ReadHostFileContext *r) 328read_host_file (const char *fn, int unlink_garbage, struct ReadHostFileContext *r)
329{ 329{
330 char buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE - 1] GNUNET_ALIGN; 330 char buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE - 1] GNUNET_ALIGN;
331 331 unsigned int size_total;
332 int size_total;
333 struct GNUNET_TIME_Absolute now; 332 struct GNUNET_TIME_Absolute now;
334 unsigned int left; 333 unsigned int left;
335 334
@@ -338,7 +337,6 @@ read_host_file (const char *fn, int unlink_garbage, struct ReadHostFileContext *
338 unsigned read_pos; 337 unsigned read_pos;
339 int size_hello; 338 int size_hello;
340 339
341 size_total = 0;
342 r->friend_only_hello = NULL; 340 r->friend_only_hello = NULL;
343 r->hello = NULL; 341 r->hello = NULL;
344 342