From a6026437f2c1986627b64390084b5281c2aeea43 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Fri, 4 Mar 2011 04:56:26 +0100 Subject: [PATCH] Define variables in processBinaryPolicies() only if they are needed --- build/policies.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/policies.c b/build/policies.c index f8bb0c4..4beedab 100644 --- a/build/policies.c +++ b/build/policies.c @@ -291,11 +291,11 @@ static rpmRC processPolicies(rpmSpec spec, Package pkg, int test) rpmRC processBinaryPolicies(rpmSpec spec, int test) { - Package pkg; rpmRC rc = RPMRC_OK; +#if WITH_SELINUX + Package pkg; char *nvr; -#if WITH_SELINUX for (pkg = spec->packages; pkg != NULL; pkg = pkg->next) { if (pkg->policyList == NULL) { continue; -- 2.7.4