diff options
Diffstat (limited to 'diagnose.c')
-rw-r--r-- | diagnose.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/diagnose.c b/diagnose.c index b7a29612da..998f517c48 100644 --- a/diagnose.c +++ b/diagnose.c @@ -4,6 +4,7 @@ #include "archive.h" #include "dir.h" #include "help.h" +#include "hex.h" #include "strvec.h" #include "object-store.h" #include "packfile.h" @@ -44,7 +45,8 @@ int option_parse_diagnose(const struct option *opt, const char *arg, int unset) return error(_("invalid --%s value '%s'"), opt->long_name, arg); } -static void dir_file_stats_objects(const char *full_path, size_t full_path_len, +static void dir_file_stats_objects(const char *full_path, + size_t full_path_len UNUSED, const char *file_name, void *data) { struct strbuf *buf = data; |