summaryrefslogtreecommitdiff
path: root/t/helper/test-oid-array.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-oid-array.c')
-rw-r--r--t/helper/test-oid-array.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/helper/test-oid-array.c b/t/helper/test-oid-array.c
index d1324d086a..eef68833b7 100644
--- a/t/helper/test-oid-array.c
+++ b/t/helper/test-oid-array.c
@@ -1,6 +1,8 @@
#include "test-tool.h"
-#include "cache.h"
+#include "hex.h"
#include "oid-array.h"
+#include "setup.h"
+#include "strbuf.h"
static int print_oid(const struct object_id *oid, void *data)
{
@@ -8,7 +10,7 @@ static int print_oid(const struct object_id *oid, void *data)
return 0;
}
-int cmd__oid_array(int argc, const char **argv)
+int cmd__oid_array(int argc UNUSED, const char **argv UNUSED)
{
struct oid_array array = OID_ARRAY_INIT;
struct strbuf line = STRBUF_INIT;