aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-oidmap.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-oidmap.c')
-rw-r--r--t/helper/test-oidmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-oidmap.c b/t/helper/test-oidmap.c
index 0acf99931e..ee92ae8494 100644
--- a/t/helper/test-oidmap.c
+++ b/t/helper/test-oidmap.c
@@ -1,5 +1,6 @@
#include "test-tool.h"
#include "cache.h"
+#include "hex.h"
#include "oidmap.h"
#include "strbuf.h"
@@ -21,7 +22,7 @@ struct test_entry {
* iterate -> oidkey1 namevalue1\noidkey2 namevalue2\n...
*
*/
-int cmd__oidmap(int argc, const char **argv)
+int cmd__oidmap(int argc UNUSED, const char **argv UNUSED)
{
struct strbuf line = STRBUF_INIT;
struct oidmap map = OIDMAP_INIT;