From: Panu Matilainen Date: Wed, 23 Mar 2011 10:15:50 +0000 (+0200) Subject: Eliminate pointless isSource member from eiu struct, duh X-Git-Tag: rpm-4.10.0-beta1~680 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0fa14db95b8eb465a1376b91ccc929100f0d0c0;p=platform%2Fupstream%2Frpm.git Eliminate pointless isSource member from eiu struct, duh --- diff --git a/lib/rpminstall.c b/lib/rpminstall.c index df4d8a3..ef34a74 100644 --- a/lib/rpminstall.c +++ b/lib/rpminstall.c @@ -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,