From 8fff977e29cda7c1641c43f9b293134adc77b65a Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Sun, 31 Aug 2014 23:53:12 +0200 Subject: [PATCH] Declare two variables in snapbuild.c as static. Neither is accessed externally, I just seem to have missed the static when writing the code. --- src/backend/replication/logical/snapbuild.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/replication/logical/snapbuild.c b/src/backend/replication/logical/snapbuild.c index 3319497603..f51d52d94e 100644 --- a/src/backend/replication/logical/snapbuild.c +++ b/src/backend/replication/logical/snapbuild.c @@ -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);