mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
initialized a few vars just to avoid warnings, not a real problem.
This commit is contained in:
parent
f858c11d7d
commit
96b5d05fde
@ -219,8 +219,8 @@ int hashTypeCurrent(hashTypeIterator *hi, int what, robj **objval, unsigned char
|
||||
* reference is retained. */
|
||||
robj *hashTypeCurrentObject(hashTypeIterator *hi, int what) {
|
||||
robj *obj;
|
||||
unsigned char *v;
|
||||
unsigned int vlen;
|
||||
unsigned char *v = NULL;
|
||||
unsigned int vlen = 0;
|
||||
int encoding = hashTypeCurrent(hi,what,&obj,&v,&vlen);
|
||||
|
||||
if (encoding == REDIS_ENCODING_HT) {
|
||||
@ -430,8 +430,8 @@ void genericHgetallCommand(redisClient *c, int flags) {
|
||||
hi = hashTypeInitIterator(o);
|
||||
while (hashTypeNext(hi) != REDIS_ERR) {
|
||||
robj *obj;
|
||||
unsigned char *v;
|
||||
unsigned int vlen;
|
||||
unsigned char *v = NULL;
|
||||
unsigned int vlen = 0;
|
||||
int encoding;
|
||||
|
||||
if (flags & REDIS_HASH_KEY) {
|
||||
|
Loading…
Reference in New Issue
Block a user