mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Remove unused (in non-assertion-enabled build) variable.
This commit is contained in:
parent
bf69b535c0
commit
d3be71a208
@ -30,7 +30,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/replication/walsender.c,v 1.1 2010/01/15 09:19:03 heikki Exp $
|
* $PostgreSQL: pgsql/src/backend/replication/walsender.c,v 1.2 2010/01/15 11:47:15 heikki Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -452,14 +452,13 @@ static void
|
|||||||
InitWalSnd(void)
|
InitWalSnd(void)
|
||||||
{
|
{
|
||||||
/* use volatile pointer to prevent code rearrangement */
|
/* use volatile pointer to prevent code rearrangement */
|
||||||
volatile WalSndCtlData *walsndctl = WalSndCtl;
|
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* WalSndCtl should be set up already (we inherit this by fork() or
|
* WalSndCtl should be set up already (we inherit this by fork() or
|
||||||
* EXEC_BACKEND mechanism from the postmaster).
|
* EXEC_BACKEND mechanism from the postmaster).
|
||||||
*/
|
*/
|
||||||
Assert(walsndctl != NULL);
|
Assert(WalSndCtl != NULL);
|
||||||
Assert(MyWalSnd == NULL);
|
Assert(MyWalSnd == NULL);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user