1
0
mirror of https://github.com/fluencelabs/redis synced 2025-06-14 09:41:21 +00:00

Merge pull request from guybe7/fix_restore_warning

Fix compiler warning in restoreCommand
This commit is contained in:
Salvatore Sanfilippo
2018-06-26 14:41:48 +02:00
committed by GitHub

@ -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;