remove_warning in db.c

This commit is contained in:
clark.kang 2014-12-12 12:02:39 +09:00
parent bbf0736c4e
commit 7ef1239bd1

View File

@ -450,8 +450,8 @@ void scanGenericCommand(redisClient *c, robj *o, unsigned long cursor) {
list *keys = listCreate(); list *keys = listCreate();
listNode *node, *nextnode; listNode *node, *nextnode;
long count = 10; long count = 10;
sds pat; sds pat = NULL;
int patlen, use_pattern = 0; int patlen = 0, use_pattern = 0;
dict *ht; dict *ht;
/* Object must be NULL (to iterate keys names), or the type of the object /* Object must be NULL (to iterate keys names), or the type of the object