diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-09-20 18:40:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-09-20 18:40:07 +0000 |
commit | 70a69ca1b28fa47404da1b8e3aa6b8a3cf65aa47 (patch) | |
tree | c5b99a433b15762c99d9e78b44e4a9ac66a7d134 | |
parent | c52ba6771165a6de3457734aecd0854b809a9ba3 (diff) | |
download | perl-URPM-70a69ca1b28fa47404da1b8e3aa6b8a3cf65aa47.tar perl-URPM-70a69ca1b28fa47404da1b8e3aa6b8a3cf65aa47.tar.gz perl-URPM-70a69ca1b28fa47404da1b8e3aa6b8a3cf65aa47.tar.bz2 perl-URPM-70a69ca1b28fa47404da1b8e3aa6b8a3cf65aa47.tar.xz perl-URPM-70a69ca1b28fa47404da1b8e3aa6b8a3cf65aa47.zip |
kill dead code
-rw-r--r-- | URPM.xs | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -641,12 +641,10 @@ return_files(Header header, int filter_mode) { struct rpmtd_s td_flags, td_fmodes; int32_t *flags = NULL; - uint16_t *fmodes = NULL; if (filter_mode) { headerGet(header, RPMTAG_FILEFLAGS, &td_flags, HEADERGET_DEFAULT); headerGet(header, RPMTAG_FILEMODES, &td_fmodes, HEADERGET_DEFAULT); flags = td_flags.data; - fmodes = td_fmodes.data; } struct rpmtd_s td_baseNames, td_dirIndexes, td_dirNames, td_list; @@ -1227,10 +1225,8 @@ update_header(char *filename, URPM__Package pkg, __attribute__((unused)) int kee rpmtsSetVSFlags(ts, _RPMVSF_NOSIGNATURES | vsflags); if (fd != NULL && rpmReadPackageFile(ts, fd, filename, &header) == 0 && header) { char *basename; - int32_t size; basename = strrchr(filename, '/'); - size = fdSize(fd); Fclose(fd); /* this is only kept for compatibility with older distros |