X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/d22248ae99543e74a93c88b9311f23a56231c83c..c0caa1cf542d452fdc1eb74a7e5511c683ec5d5d:/src/t_hash.c diff --git a/src/t_hash.c b/src/t_hash.c index f0ecefc3..b09ff41e 100644 --- a/src/t_hash.c +++ b/src/t_hash.c @@ -75,10 +75,7 @@ int hashTypeGetFromHashTable(robj *o, robj *field, robj **value) { redisAssert(o->encoding == REDIS_ENCODING_HT); de = dictFind(o->ptr, field); - if (de == NULL) { - return -1; - } - + if (de == NULL) return -1; *value = dictGetVal(de); return 0; }