Skip to content

Commit d3be71a

Browse files
committed
Remove unused (in non-assertion-enabled build) variable.
1 parent bf69b53 commit d3be71a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/backend/replication/walsender.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*
3131
*
3232
* IDENTIFICATION
33-
* $PostgreSQL: pgsql/src/backend/replication/walsender.c,v 1.1 2010/01/15 09:19:03 heikki Exp $
33+
* $PostgreSQL: pgsql/src/backend/replication/walsender.c,v 1.2 2010/01/15 11:47:15 heikki Exp $
3434
*
3535
*-------------------------------------------------------------------------
3636
*/
@@ -452,14 +452,13 @@ static void
452452
InitWalSnd(void)
453453
{
454454
/* use volatile pointer to prevent code rearrangement */
455-
volatile WalSndCtlData *walsndctl = WalSndCtl;
456455
int i;
457456

458457
/*
459458
* WalSndCtl should be set up already (we inherit this by fork() or
460459
* EXEC_BACKEND mechanism from the postmaster).
461460
*/
462-
Assert(walsndctl != NULL);
461+
Assert(WalSndCtl != NULL);
463462
Assert(MyWalSnd == NULL);
464463

465464
/*

0 commit comments

Comments
 (0)