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.
pull/220/head
Andreas Karlsson 5 months ago committed by Andreas Karlsson
parent 3251aef9e7
commit f758cc70bb
  1. 5
      contrib/pg_tde/src/catalog/tde_keyring.c

@ -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);

Loading…
Cancel
Save