fix typo - empty statement ;;

Started by Peter Smithover 3 years ago2 messages
#1Peter Smith
smithpb2250@gmail.com
1 attachment(s)

I noticed an accidental ;;

PSA patch to remove the same.

------
Kind Regards,
Peter Smith.
Fujitsu Australia

Attachments:

v1-0001-Fix-typo-empty-statement.patchapplication/octet-stream; name=v1-0001-Fix-typo-empty-statement.patchDownload
From e971657ee98fc812a579a6e0c911cc527abce830 Mon Sep 17 00:00:00 2001
From: Peter Smith <peter.b.smith@fujitsu.com>
Date: Tue, 23 Aug 2022 09:59:59 +1000
Subject: [PATCH v1] Fix typo - empty statement

---
 src/backend/access/transam/xlogprefetcher.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/access/transam/xlogprefetcher.c b/src/backend/access/transam/xlogprefetcher.c
index 87d1421..9aa5641 100644
--- a/src/backend/access/transam/xlogprefetcher.c
+++ b/src/backend/access/transam/xlogprefetcher.c
@@ -656,7 +656,7 @@ XLogPrefetcherNextBlock(uintptr_t pgsr_private, XLogRecPtr *lsn)
 			if (!block->in_use)
 				continue;
 
-			Assert(!BufferIsValid(block->prefetch_buffer));;
+			Assert(!BufferIsValid(block->prefetch_buffer));
 
 			/*
 			 * Record the LSN of this record.  When it's replayed,
-- 
1.8.3.1

#2John Naylor
john.naylor@enterprisedb.com
In reply to: Peter Smith (#1)
Re: fix typo - empty statement ;;

On Tue, Aug 23, 2022 at 7:14 AM Peter Smith <smithpb2250@gmail.com> wrote:

I noticed an accidental ;;

PSA patch to remove the same.

Pushed.

--
John Naylor
EDB: http://www.enterprisedb.com