From 3bf61f1d8ddcde951fc3c2f09cb11ff67f8123b4 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 8 Dec 2022 17:49:16 +0000 Subject: [PATCH] package: Don't make types array static Let the compiler decide what is best. Signed-off-by: Michael Tremer --- src/libpakfire/package.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpakfire/package.c b/src/libpakfire/package.c index b93c0c798..5a0307dff 100644 --- a/src/libpakfire/package.c +++ b/src/libpakfire/package.c @@ -1076,7 +1076,7 @@ ERROR: } int pakfire_package_has_rich_deps(struct pakfire_package* pkg) { - static const Id types[] = { + const Id types[] = { // Requires (includes pre-requires) SOLVABLE_REQUIRES, SOLVABLE_PROVIDES, -- 2.39.5