提交 89b48f08 编写于 作者: A antirez

Remove harmless warning in slaveTryPartialResynchronization().

上级 0ed6daa4
...@@ -923,7 +923,7 @@ int slaveTryPartialResynchronization(int fd) { ...@@ -923,7 +923,7 @@ int slaveTryPartialResynchronization(int fd) {
reply = sendSynchronousCommand(fd,"PSYNC",psync_runid,psync_offset,NULL); reply = sendSynchronousCommand(fd,"PSYNC",psync_runid,psync_offset,NULL);
if (!strncmp(reply,"+FULLRESYNC",11)) { 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 /* FULL RESYNC, parse the reply in order to extract the run id
* and the replication offset. */ * and the replication offset. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册