Remove harmless warning in slaveTryPartialResynchronization().

This commit is contained in:
antirez
2013-02-12 12:57:59 +01:00
parent 4fe7672dfc
commit 5a4ef3e5b6
+1 -1
View File
@@ -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. */