mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Remove harmless warning in slaveTryPartialResynchronization().
This commit is contained in:
parent
0ed6daa48b
commit
89b48f0825
@ -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. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user