projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4e3454
)
Remove unnecessary initialization
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 11 Nov 2008 19:06:32 +0000
(21:06 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 11 Nov 2008 19:06:32 +0000
(21:06 +0200)
- rpmfiNew() zeroes out everything, including striplen + astriplen
lib/psm.c
patch
|
blob
|
history
diff --git
a/lib/psm.c
b/lib/psm.c
index
8e514a0
..
17f3781
100644
(file)
--- a/
lib/psm.c
+++ b/
lib/psm.c
@@
-300,9
+300,6
@@
rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd,
}
}
- fi->astriplen = 0;
- fi->striplen = 0;
-
i = fi->fc;
if (fi->h != NULL) { /* XXX can't happen */