projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e70d90
)
Eliminate pointless isSource member from eiu struct, duh
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 23 Mar 2011 10:15:50 +0000
(12:15 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 23 Mar 2011 10:15:50 +0000
(12:15 +0200)
lib/rpminstall.c
patch
|
blob
|
history
diff --git
a/lib/rpminstall.c
b/lib/rpminstall.c
index
df4d8a3
..
ef34a74
100644
(file)
--- 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,