Make local variable no longer static

Presumably this variable used to actually be used as a static variable
at some point in time but that is no longer the case.
This commit is contained in:
Andreas Karlsson 2025-04-25 12:16:17 +02:00 committed by Andreas Karlsson
parent 3251aef9e7
commit f758cc70bb

View File

@ -979,11 +979,10 @@ GenericKeyring *
GetKeyProviderByName(const char *provider_name, Oid dbOid)
{
GenericKeyring *keyring = NULL;
#ifndef FRONTEND
static List *providers;
List *providers;
#else
static SimplePtrList *providers;
SimplePtrList *providers;
#endif
providers = scan_key_provider_file(PROVIDER_SCAN_BY_NAME, (void *) provider_name, dbOid);