- numAdded and numRemoved not used for anything at all
rpmfi fi;
fingerPrintCache fpc;
rpmtsi pi; rpmte p;
- int numAdded;
- int numRemoved;
void * lock = NULL;
int xx;
ts->fileCount = countFiles(ts);
rpmlog(RPMLOG_DEBUG, "computing %" PRIu64 " file fingerprints\n", ts->fileCount);
- numAdded = numRemoved = 0;
pi = rpmtsiInit(ts);
while ((p = rpmtsiNext(pi, 0)) != NULL) {
int fc;
switch (rpmteType(p)) {
case TR_ADDED:
- numAdded++;
/* Skip netshared paths, not our i18n files, and excluded docs */
if (fc > 0)
skipFiles(ts, p);
break;
case TR_REMOVED:
- numRemoved++;
break;
}
}