X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fverify.c;h=2c0105bb97b248fd4a24a3dd5f946fa2dea17573;hp=063834fbeda83aa879b4c41147aadb9484c01bf8;hb=0a5a590bc1e8619efd1a0345adaf56a69027b44b;hpb=5d3d469e410dc5f4a28814ad231336fc174cba56 diff --git a/src/verify.c b/src/verify.c index 063834fb..2c0105bb 100644 --- a/src/verify.c +++ b/src/verify.c @@ -37,13 +37,6 @@ static int lte_fix_refcnt(struct wim_lookup_table_entry *lte, void *ctr) { if (lte->refcnt != lte->real_refcnt) { - if (wimlib_print_errors) { - WARNING("The following lookup table entry has a reference " - "count of %u, but", lte->refcnt); - WARNING("We found %u references to it", - lte->real_refcnt); - print_lookup_table_entry(lte, stderr); - } lte->refcnt = lte->real_refcnt; ++*(unsigned long *)ctr; } @@ -98,9 +91,7 @@ wim_recalculate_refcnts(WIMStruct *wim) for_lookup_table_entry(wim->lookup_table, lte_fix_refcnt, &num_ltes_with_bogus_refcnt); if (num_ltes_with_bogus_refcnt != 0) { - WARNING("A total of %lu entries in the WIM's stream " - "lookup table had to have\n" - " their reference counts fixed.", + WARNING("%lu stream(s) had incorrect reference count.", num_ltes_with_bogus_refcnt); } wim->refcnts_ok = 1;