Minor code aesthetic change to use Redis code base style rule of saving vertical space when possible.

This commit is contained in:
antirez 2012-03-10 11:09:43 +01:00
parent d22248ae99
commit c0caa1cf54

View File

@ -75,10 +75,7 @@ int hashTypeGetFromHashTable(robj *o, robj *field, robj **value) {
redisAssert(o->encoding == REDIS_ENCODING_HT); redisAssert(o->encoding == REDIS_ENCODING_HT);
de = dictFind(o->ptr, field); de = dictFind(o->ptr, field);
if (de == NULL) { if (de == NULL) return -1;
return -1;
}
*value = dictGetVal(de); *value = dictGetVal(de);
return 0; return 0;
} }