Commit d93f209f authored by Heikki Linnakangas's avatar Heikki Linnakangas

Silence warning about unused variable, when building without assertions.

parent 66a7e6ba
......@@ -1117,7 +1117,6 @@ begin:;
*/
if (isLogSwitch)
{
XLogCtlWrite *Write = &XLogCtl->Write;
XLogwrtRqst FlushRqst;
XLogRecPtr OldSegEnd;
......@@ -1140,7 +1139,7 @@ begin:;
/* There should be no unwritten data */
curridx = Insert->curridx;
Assert(curridx == Write->curridx);
Assert(curridx == XLogCtl->Write.curridx);
/* Compute end address of old segment */
OldSegEnd = XLogCtl->xlblocks[curridx];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment