Merge pull request #2209 from charsyam/feature/remove_warning

remove_warning in db.c
This commit is contained in:
Salvatore Sanfilippo
2014-12-12 18:42:44 +01:00
+2 -2
View File
@@ -450,8 +450,8 @@ void scanGenericCommand(redisClient *c, robj *o, unsigned long cursor) {
list *keys = listCreate();
listNode *node, *nextnode;
long count = 10;
sds pat;
int patlen, use_pattern = 0;
sds pat = NULL;
int patlen = 0, use_pattern = 0;
dict *ht;
/* Object must be NULL (to iterate keys names), or the type of the object