Fix compiler warning in restoreCommand

This commit is contained in:
Guy Benoish 2018-06-24 16:53:01 +07:00
parent cf7fcdbe4e
commit dfcc20f4fd

View File

@ -4835,7 +4835,7 @@ void dumpCommand(client *c) {
/* RESTORE key ttl serialized-value [REPLACE] */
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;
int j, type, replace = 0, absttl = 0;
robj *obj;