summaryrefslogtreecommitdiff
path: root/lib/rpminstall.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-03-23 12:15:50 +0200
committerPanu Matilainen <pmatilai@redhat.com>2011-03-23 12:15:50 +0200
commitf0fa14db95b8eb465a1376b91ccc929100f0d0c0 (patch)
tree2c70e31fd095bfd15285a00475e052fa69895c77 /lib/rpminstall.c
parent3e70d901e5a6971b41522d1cb5c3799a88fd7d77 (diff)
downloadlibrpm-tizen-f0fa14db95b8eb465a1376b91ccc929100f0d0c0.tar.gz
librpm-tizen-f0fa14db95b8eb465a1376b91ccc929100f0d0c0.tar.bz2
librpm-tizen-f0fa14db95b8eb465a1376b91ccc929100f0d0c0.zip
Eliminate pointless isSource member from eiu struct, duh
Diffstat (limited to 'lib/rpminstall.c')
-rw-r--r--lib/rpminstall.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/rpminstall.c b/lib/rpminstall.c
index df4d8a352..ef34a74f8 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,