diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-13 22:45:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-13 22:45:27 +0000 |
commit | 96889733a64ad9e358c89386153cabb1d2cd99b0 (patch) | |
tree | 235e35be60b28d2a8c5a76a425b416bec26b87a4 /src/peerinfo/gnunet-service-peerinfo.c | |
parent | 5b4e092775f462b148fa792db672d0d9cf729614 (diff) | |
download | gnunet-96889733a64ad9e358c89386153cabb1d2cd99b0.tar.gz gnunet-96889733a64ad9e358c89386153cabb1d2cd99b0.zip |
-dead code elimination
Diffstat (limited to 'src/peerinfo/gnunet-service-peerinfo.c')
-rw-r--r-- | src/peerinfo/gnunet-service-peerinfo.c | 4 |
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 | |||
328 | read_host_file (const char *fn, int unlink_garbage, struct ReadHostFileContext *r) | 328 | read_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 | ||