From: Michael Tremer Date: Thu, 8 Dec 2022 17:49:16 +0000 (+0000) Subject: package: Don't make types array static X-Git-Tag: 0.9.28~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3bf61f1d8ddcde951fc3c2f09cb11ff67f8123b4;p=pakfire.git package: Don't make types array static Let the compiler decide what is best. Signed-off-by: Michael Tremer --- 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,