Commit 5a4ef3e5 authored by antirez's avatar antirez
Browse files

Remove harmless warning in slaveTryPartialResynchronization().

parent 4fe7672d
......@@ -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. */
......
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