diff options
-rw-r--r-- | src/hello/hello-uri.c | 2 | ||||
-rw-r--r-- | src/peerstore/gnunet-service-peerstore.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/hello/hello-uri.c b/src/hello/hello-uri.c index 4a8591ed1..e885c470d 100644 --- a/src/hello/hello-uri.c +++ b/src/hello/hello-uri.c | |||
@@ -34,6 +34,7 @@ | |||
34 | * that does this to create bootstrap HELLOs shipped with | 34 | * that does this to create bootstrap HELLOs shipped with |
35 | * the TGZ. | 35 | * the TGZ. |
36 | */ | 36 | */ |
37 | #include "gnunet_time_lib.h" | ||
37 | #include "platform.h" | 38 | #include "platform.h" |
38 | #include "gnunet_signatures.h" | 39 | #include "gnunet_signatures.h" |
39 | #include "gnunet_hello_uri_lib.h" | 40 | #include "gnunet_hello_uri_lib.h" |
@@ -464,6 +465,7 @@ GNUNET_HELLO_builder_get_expiration_time (const struct | |||
464 | } | 465 | } |
465 | else | 466 | else |
466 | GNUNET_break (0); | 467 | GNUNET_break (0); |
468 | return GNUNET_TIME_UNIT_ZERO_ABS; | ||
467 | } | 469 | } |
468 | 470 | ||
469 | 471 | ||
diff --git a/src/peerstore/gnunet-service-peerstore.c b/src/peerstore/gnunet-service-peerstore.c index 4c05a14fc..514b173bb 100644 --- a/src/peerstore/gnunet-service-peerstore.c +++ b/src/peerstore/gnunet-service-peerstore.c | |||
@@ -551,7 +551,6 @@ static int | |||
551 | hosts_directory_scan_callback (void *cls, const char *fullname) | 551 | hosts_directory_scan_callback (void *cls, const char *fullname) |
552 | { | 552 | { |
553 | (void) cls; | 553 | (void) cls; |
554 | const char *filename; | ||
555 | ssize_t size_total; | 554 | ssize_t size_total; |
556 | char buffer[GNUNET_MAX_MESSAGE_SIZE - 1] GNUNET_ALIGN; | 555 | char buffer[GNUNET_MAX_MESSAGE_SIZE - 1] GNUNET_ALIGN; |
557 | const struct GNUNET_MessageHeader *hello; | 556 | const struct GNUNET_MessageHeader *hello; |