From: Andres Freund Date: Sun, 31 Aug 2014 21:53:12 +0000 (+0200) Subject: Declare two variables in snapbuild.c as static. X-Git-Tag: REL9_5_ALPHA1~1535 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8fff977e29cda7c1641c43f9b293134adc77b65a;p=thirdparty%2Fpostgresql.git Declare two variables in snapbuild.c as static. Neither is accessed externally, I just seem to have missed the static when writing the code. --- diff --git a/src/backend/replication/logical/snapbuild.c b/src/backend/replication/logical/snapbuild.c index 3319497603f..f51d52d94ef 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);