Fix compiler warning introduced in commit 705e20f855.

Reported-by: Nathan Bossart
Author: Nathan Bossart
Reviewed-by: Osumi Takamichi
Discussion : https://postgr.es/m/20220314230424.GA1085716@nathanxps13
This commit is contained in:
Amit Kapila 2022-03-15 08:11:17 +05:30
parent 6bdf1a1400
commit 695f459f17
1 changed files with 1 additions and 1 deletions

View File

@ -3387,7 +3387,7 @@ TwoPhaseTransactionGid(Oid subid, TransactionId xid, char *gid, int szgid)
static void
start_table_sync(XLogRecPtr *origin_startpos, char **myslotname)
{
char *syncslotname;
char *syncslotname = NULL;
Assert(am_tablesync_worker());