Commit 8fff977e authored by Andres Freund's avatar Andres Freund

Declare two variables in snapbuild.c as static.

Neither is accessed externally, I just seem to have missed the static
when writing the code.
parent 05258761
...@@ -243,8 +243,8 @@ struct SnapBuild ...@@ -243,8 +243,8 @@ struct SnapBuild
* Starting a transaction -- which we need to do while exporting a snapshot -- * Starting a transaction -- which we need to do while exporting a snapshot --
* removes knowledge about the previously used resowner, so we save it here. * removes knowledge about the previously used resowner, so we save it here.
*/ */
ResourceOwner SavedResourceOwnerDuringExport = NULL; static ResourceOwner SavedResourceOwnerDuringExport = NULL;
bool ExportInProgress = false; static bool ExportInProgress = false;
/* transaction state manipulation functions */ /* transaction state manipulation functions */
static void SnapBuildEndTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid); static void SnapBuildEndTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment