diff options
Diffstat (limited to 'protocol-caps.c')
| -rw-r--r-- | protocol-caps.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/protocol-caps.c b/protocol-caps.c index bbde91810a..75f4cbb0a7 100644 --- a/protocol-caps.c +++ b/protocol-caps.c @@ -1,11 +1,12 @@ #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 "object-store-ll.h" #include "string-list.h" #include "strbuf.h" @@ -77,7 +78,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; |
