mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Remove duplicate initialization in XLogReadRecord.
Per a note from Dickson S. Guedes.
This commit is contained in:
@ -187,7 +187,6 @@ XLogReadRecord(XLogReaderState *state, XLogRecPtr RecPtr, char **errormsg)
|
|||||||
bool gotheader;
|
bool gotheader;
|
||||||
int readOff;
|
int readOff;
|
||||||
|
|
||||||
randAccess = false;
|
|
||||||
/* reset error state */
|
/* reset error state */
|
||||||
*errormsg = NULL;
|
*errormsg = NULL;
|
||||||
state->errormsg_buf[0] = '\0';
|
state->errormsg_buf[0] = '\0';
|
||||||
|
Reference in New Issue
Block a user