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
eb052ba9
Unverified
Commit
eb052ba9
authored
Jun 26, 2018
by
Salvatore Sanfilippo
Committed by
GitHub
Jun 26, 2018
Browse files
Merge pull request #5059 from guybe7/fix_restore_warning
Fix compiler warning in restoreCommand
parents
27178a3f
dfcc20f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
eb052ba9
...
@@ -4835,7 +4835,7 @@ void dumpCommand(client *c) {
...
@@ -4835,7 +4835,7 @@ void dumpCommand(client *c) {
/* RESTORE key ttl serialized-value [REPLACE] */
/* RESTORE key ttl serialized-value [REPLACE] */
void
restoreCommand
(
client
*
c
)
{
void
restoreCommand
(
client
*
c
)
{
long
long
ttl
,
lfu_freq
=
-
1
,
lru_idle
=
-
1
,
lru_clock
;
long
long
ttl
,
lfu_freq
=
-
1
,
lru_idle
=
-
1
,
lru_clock
=
-
1
;
rio
payload
;
rio
payload
;
int
j
,
type
,
replace
=
0
,
absttl
=
0
;
int
j
,
type
,
replace
=
0
,
absttl
=
0
;
robj
*
obj
;
robj
*
obj
;
...
...
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