summaryrefslogtreecommitdiff
path: root/lib/psm.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-05-29 16:26:21 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-02 09:50:48 +0300
commitae5667cf06d882e2760b924585a8900dcdfcfe19 (patch)
tree6a0e9a541eb71c9459420ef4319510d8bad68f59 /lib/psm.c
parentea134adf81d22b26807d2c71895b0c23a7804d33 (diff)
downloadrpm-ae5667cf06d882e2760b924585a8900dcdfcfe19.tar.gz
rpm-ae5667cf06d882e2760b924585a8900dcdfcfe19.tar.bz2
rpm-ae5667cf06d882e2760b924585a8900dcdfcfe19.zip
Lose unused fdigests array from rpmfi struct
- only used in rpmfiNew() where it's converted to binary from the header hex presentation and free'd immediately, a local variable will do just as well - some useless references in fsm and psm, kill'em too
Diffstat (limited to 'lib/psm.c')
-rw-r--r--lib/psm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/psm.c b/lib/psm.c
index 24703ca57..05b3c3d1b 100644
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -303,9 +303,6 @@ rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd,
*cookie = xstrdup(*cookie);
}
- /* XXX FIXME: can't do endian neutral MD5 verification yet. */
-fi->fdigests = hfd(fi->fdigests, RPM_FORCEFREE_TYPE);
-
/* XXX FIXME: don't do per-file mapping, force global flags. */
fi->fmapflags = _free(fi->fmapflags);
fi->mapflags = CPIO_MAP_PATH | CPIO_MAP_MODE | CPIO_MAP_UID | CPIO_MAP_GID;