diff options
author | antirez <antirez@gmail.com> | 2013-02-15 13:12:55 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-02-15 13:12:55 +0100 |
commit | 8853698a6fededba4db8b8c2dc1bc94f425db823 (patch) | |
tree | 2c0bfe230591e2ee3b69c8605db6303e72489d03 /src/t_hash.c | |
parent | 6b9c6618384ef9fe8ea8054ec82c094ba1f69369 (diff) | |
download | redis-8853698a6fededba4db8b8c2dc1bc94f425db823.tar.gz |
Removed useless newlines from hashTypeCurrentObject().
Diffstat (limited to 'src/t_hash.c')
-rw-r--r-- | src/t_hash.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/t_hash.c b/src/t_hash.c index 959c9ca81..9484e531b 100644 --- a/src/t_hash.c +++ b/src/t_hash.c @@ -384,15 +384,12 @@ robj *hashTypeCurrentObject(hashTypeIterator *hi, int what) { } else { dst = createStringObjectFromLongLong(vll); } - } else if (hi->encoding == REDIS_ENCODING_HT) { hashTypeCurrentFromHashTable(hi, what, &dst); incrRefCount(dst); - } else { redisPanic("Unknown hash encoding"); } - return dst; } |