diff options
Diffstat (limited to 'protocol-caps.c')
-rw-r--r-- | protocol-caps.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/protocol-caps.c b/protocol-caps.c index bbde91810a..a90c48852e 100644 --- a/protocol-caps.c +++ b/protocol-caps.c @@ -1,9 +1,11 @@ #include "git-compat-util.h" #include "protocol-caps.h" #include "gettext.h" +#include "hex.h" #include "pkt-line.h" #include "strvec.h" -#include "hash.h" +#include "hash-ll.h" +#include "hex.h" #include "object.h" #include "object-store.h" #include "string-list.h" @@ -77,7 +79,7 @@ static void send_info(struct repository *r, struct packet_writer *writer, int cap_object_info(struct repository *r, struct packet_reader *request) { - struct requested_info info; + struct requested_info info = { 0 }; struct packet_writer writer; struct string_list oid_str_list = STRING_LIST_INIT_DUP; |