1
0
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:
Robert Haas
2013-04-09 23:58:02 -04:00
parent 52e6e33ab4
commit 4cff7b9dd6

View File

@ -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';