From 67f8dadebdf290c4ade36a7d3a27e52048d96032 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 4 Feb 2020 10:36:43 +0200 Subject: [PATCH] Fix build regression in commit 307872f71b357a3839fd037514a1c3dabfacc611 Commit 307872f71b357a3839fd037514a1c3dabfacc611 broke build with SELinux enabled but was accidentally merged. Fix the breakage. --- build/policies.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/policies.c b/build/policies.c index e92df194a..16d5f87e6 100644 --- a/build/policies.c +++ b/build/policies.c @@ -221,6 +221,7 @@ static rpmRC processPolicies(rpmSpec spec, Package pkg, int test) char *types = NULL; uint32_t flags = 0; poptContext optCon = NULL; + ModuleRec mod = NULL; rpmRC rc = RPMRC_FAIL; @@ -236,7 +237,6 @@ static rpmRC processPolicies(rpmSpec spec, Package pkg, int test) } for (ARGV_const_t pol = pkg->policyList; *pol != NULL; pol++) { - ModuleRec mod; const char *line = *pol; const char **argv = NULL; int argc = 0; -- 2.27.0