The head member of struct pack_info is completely unused and the nr_heads member is used only in one place, which is an assignment. Since these structure members are not useful, remove them. Signed-off-by: brian m. carlson <sandals@xxxxxxxxxxxxxxxxxxxx> --- server-info.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/server-info.c b/server-info.c index 83460ec0d6..828ec5e538 100644 --- a/server-info.c +++ b/server-info.c @@ -92,8 +92,6 @@ static struct pack_info { int old_num; int new_num; int nr_alloc; - int nr_heads; - unsigned char (*head)[20]; } **info; static int num_pack; static const char *objdir; @@ -228,7 +226,6 @@ static void init_pack_info(const char *infofile, int force) for (i = 0; i < num_pack; i++) { if (stale) { info[i]->old_num = -1; - info[i]->nr_heads = 0; } }