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);
de = dictFind(o->ptr, field);
if (de == NULL) {
return -1;
}
if (de == NULL) return -1;
*value = dictGetVal(de);
return 0;
}