Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8fff977

Browse files
committed
Declare two variables in snapbuild.c as static.
Neither is accessed externally, I just seem to have missed the static when writing the code.
1 parent 0525876 commit 8fff977

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/replication/logical/snapbuild.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ struct SnapBuild
243243
* Starting a transaction -- which we need to do while exporting a snapshot --
244244
* removes knowledge about the previously used resowner, so we save it here.
245245
*/
246-
ResourceOwner SavedResourceOwnerDuringExport = NULL;
247-
bool ExportInProgress = false;
246+
static ResourceOwner SavedResourceOwnerDuringExport = NULL;
247+
static bool ExportInProgress = false;
248248

249249
/* transaction state manipulation functions */
250250
static void SnapBuildEndTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid);

0 commit comments

Comments
 (0)