Eliminate pointless isSource member from eiu struct, duh

This commit is contained in:
Panu Matilainen 2011-03-23 12:15:50 +02:00
parent 3e70d901e5
commit f0fa14db95
1 changed files with 1 additions and 4 deletions

View File

@ -224,7 +224,6 @@ struct rpmEIU {
int numRPMS;
int numSRPMS;
char ** sourceURL;
int isSource;
int argc;
char ** argv;
rpmRelocation * relocations;
@ -504,9 +503,7 @@ restart:
}
}
eiu->isSource = headerIsSource(h);
if (eiu->isSource) {
if (headerIsSource(h)) {
rpmlog(RPMLOG_DEBUG, "\tadded source package [%d]\n",
eiu->numSRPMS);
eiu->sourceURL = xrealloc(eiu->sourceURL,