Remove harmless warning in slaveTryPartialResynchronization().
This commit is contained in:
parent
10756f5c4a
commit
33a7ca234d
@ -923,7 +923,7 @@ int slaveTryPartialResynchronization(int fd) {
|
||||
reply = sendSynchronousCommand(fd,"PSYNC",psync_runid,psync_offset,NULL);
|
||||
|
||||
if (!strncmp(reply,"+FULLRESYNC",11)) {
|
||||
char *runid, *offset;
|
||||
char *runid = NULL, *offset = NULL;
|
||||
|
||||
/* FULL RESYNC, parse the reply in order to extract the run id
|
||||
* and the replication offset. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user