Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
5a4ef3e5
Commit
5a4ef3e5
authored
Feb 01, 2013
by
antirez
Browse files
Remove harmless warning in slaveTryPartialResynchronization().
parent
4fe7672d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/replication.c
View file @
5a4ef3e5
...
...
@@ -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. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment