Merge pull request #5059 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
commit eb052ba93a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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