diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-10 08:53:09 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-10 08:53:09 +0000 |
commit | 76e7fc117ac909611f2c23abdad75412bb08443c (patch) | |
tree | a67b2f6c9c9fd46da92acb602bf12c3c38e134b3 | |
parent | 8c823d8ec4257a10b6980f8b1109c8a358082564 (diff) | |
download | perl-URPM-76e7fc117ac909611f2c23abdad75412bb08443c.tar perl-URPM-76e7fc117ac909611f2c23abdad75412bb08443c.tar.gz perl-URPM-76e7fc117ac909611f2c23abdad75412bb08443c.tar.bz2 perl-URPM-76e7fc117ac909611f2c23abdad75412bb08443c.tar.xz perl-URPM-76e7fc117ac909611f2c23abdad75412bb08443c.zip |
Remove unused variable
-rw-r--r-- | URPM.xs | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -3343,7 +3343,6 @@ Urpm_verify_rpm(filename, ...) rpmRC rc = 0; FD_t fd; int i; - const char *tmpfile = NULL; char * fmtsig = NULL; char buffer[8192]; rpmts ts; @@ -3378,11 +3377,8 @@ Urpm_verify_rpm(filename, ...) else if (len == 9 && !memcmp(s, "nodigests", 9)) { if (SvIV(ST(i+1))) vsflags |= _RPMVSF_NODIGESTS; } - else if (len == 12) { - if (!memcmp(s, "tmp_filename", 12)) - tmpfile = SvPV_nolen(ST(i+1)); - else if (!memcmp(s, "nosignatures", 12)) - vsflags |= _RPMVSF_NOSIGNATURES; + else if (len == 12 && !memcmp(s, "nosignatures", 12)) { + vsflags |= _RPMVSF_NOSIGNATURES; } } RETVAL = NULL; |