Eliminate now unused and useless goal member from psm struct

This commit is contained in:
Panu Matilainen 2014-03-20 16:35:32 +02:00
parent f4a49c3d44
commit bb1db2f54c
1 changed files with 0 additions and 2 deletions

View File

@ -39,7 +39,6 @@ struct rpmpsm_s {
rpmCallbackType what; /*!< Callback type. */
rpm_loff_t amount; /*!< Callback amount. */
rpm_loff_t total; /*!< Callback total. */
pkgGoal goal;
int nrefs; /*!< Reference count. */
};
@ -528,7 +527,6 @@ static rpmpsm rpmpsmNew(rpmts ts, rpmte te, pkgGoal goal)
psm->ts = rpmtsLink(ts);
psm->files = rpmteFiles(te);
psm->te = te; /* XXX rpmte not refcounted yet */
psm->goal = goal;
if (!rpmteIsSource(te)) {
/*
* When we run scripts, we pass an argument which is the number of