diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-05-29 16:26:21 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-06-02 09:50:48 +0300 |
commit | ae5667cf06d882e2760b924585a8900dcdfcfe19 (patch) | |
tree | 6a0e9a541eb71c9459420ef4319510d8bad68f59 /lib/psm.c | |
parent | ea134adf81d22b26807d2c71895b0c23a7804d33 (diff) | |
download | rpm-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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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; |