提交 c0caa1cf 编写于 作者: A antirez

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.
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册