You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-09-16 09:06:18 +02:00
Mark contextTop static.
This variable is not used outside of the memContext module so no need for it to be extern'd.
This commit is contained in:
@@ -74,7 +74,7 @@ Top context
|
||||
The top context always exists and can never be freed. All other contexts are children of the top context. The top context is
|
||||
generally used to allocate memory that exists for the life of the program.
|
||||
***********************************************************************************************************************************/
|
||||
MemContext contextTop = {.state = memContextStateActive, .name = "TOP"};
|
||||
static MemContext contextTop = {.state = memContextStateActive, .name = "TOP"};
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
Memory context stack types
|
||||
|
Reference in New Issue
Block a user