Commit c0caa1cf authored by antirez's avatar antirez
Browse files

Minor code aesthetic change to use Redis code base style rule of saving...

Minor code aesthetic change to use Redis code base style rule of saving vertical space when possible.
parent d22248ae
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment