From 85644f36bea6d31c85d15695c87d268719e01c5c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 29 Feb 2012 23:45:44 +0000 Subject: kill dead code --- URPM.xs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/URPM.xs b/URPM.xs index fa03071..d0198d1 100644 --- a/URPM.xs +++ b/URPM.xs @@ -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; @@ -1190,10 +1188,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 -- cgit v1.2.1