mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Declare two variables in snapbuild.c as static.
Neither is accessed externally, I just seem to have missed the static when writing the code.
This commit is contained in:
parent
05258761bf
commit
8fff977e29
@ -243,8 +243,8 @@ struct SnapBuild
|
||||
* Starting a transaction -- which we need to do while exporting a snapshot --
|
||||
* removes knowledge about the previously used resowner, so we save it here.
|
||||
*/
|
||||
ResourceOwner SavedResourceOwnerDuringExport = NULL;
|
||||
bool ExportInProgress = false;
|
||||
static ResourceOwner SavedResourceOwnerDuringExport = NULL;
|
||||
static bool ExportInProgress = false;
|
||||
|
||||
/* transaction state manipulation functions */
|
||||
static void SnapBuildEndTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user