Remove two useless rpmtsSELinuxEnabled() calls.

This commit is contained in:
Panu Matilainen 2007-07-10 13:46:32 +03:00
parent 0fdfaed857
commit fd187d8cf5
1 changed files with 0 additions and 2 deletions

View File

@ -32,7 +32,6 @@ int rpmVerifyFile(const rpmts ts, const rpmfi fi,
rpmVerifyAttrs flags = rpmfiVFlags(fi);
const char * fn = rpmfiFN(fi);
const char * rootDir = rpmtsRootDir(ts);
int selinuxEnabled = rpmtsSELinuxEnabled(ts);
struct stat sb;
int rc;
@ -257,7 +256,6 @@ static int verifyHeader(QVA_t qva, const rpmts ts, rpmfi fi)
/*@globals h_errno, fileSystem, internalState @*/
/*@modifies ts, fi, fileSystem, internalState @*/
{
int selinuxEnabled = rpmtsSELinuxEnabled(ts);
rpmVerifyAttrs verifyResult = 0;
/*@-type@*/ /* FIX: union? */
rpmVerifyAttrs omitMask = ((qva->qva_flags & VERIFY_ATTRS) ^ VERIFY_ATTRS);