From fd187d8cf5e94a7ed442e50603f009508af0e41c Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 10 Jul 2007 13:46:32 +0300 Subject: [PATCH] Remove two useless rpmtsSELinuxEnabled() calls. --- lib/verify.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/verify.c b/lib/verify.c index c530507..b6a8bf6 100644 --- a/lib/verify.c +++ b/lib/verify.c @@ -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); -- 2.7.4