remove duplicated code under #if 0
diff --git a/libexec/got-index-pack/got-index-pack.c b/libexec/got-index-pack/got-index-pack.c
index 44c7e0d..5086b21 100644
--- a/libexec/got-index-pack/got-index-pack.c
+++ b/libexec/got-index-pack/got-index-pack.c
@@ -246,18 +246,6 @@ object_crc(int packfd, struct got_indexed_object *obj)
return 0;
}
-#if 0
-static int
-indexed_obj_cmp(const void *pa, const void *pb)
-{
- struct got_indexed_object *a, *b;
-
- a = *(struct got_indexed_object **)pa;
- b = *(struct got_indexed_object **)pb;
- return got_object_id_cmp(&a->id, &b->id);
-}
-#endif
-
static const struct got_error *
resolve_deltified_object(struct got_pack *pack, struct got_packidx *packidx,
struct got_indexed_object *obj)