Commit c7ba8c54 authored by zhujiashun's avatar zhujiashun

redis_server_protocol: refine code

parent d483a54c
...@@ -186,9 +186,9 @@ inline RedisReply::RedisReply(butil::Arena* arena) ...@@ -186,9 +186,9 @@ inline RedisReply::RedisReply(butil::Arena* arena)
Reset(); Reset();
} }
inline RedisReply::RedisReply() { inline RedisReply::RedisReply()
: _arena(NULL) {
Reset(); Reset();
_arena = NULL;
} }
inline bool RedisReply::is_nil() const { inline bool RedisReply::is_nil() const {
......
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