summaryrefslogtreecommitdiff
path: root/src/t_hash.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-02-15 13:12:55 +0100
committerantirez <antirez@gmail.com>2013-02-15 13:12:55 +0100
commit8853698a6fededba4db8b8c2dc1bc94f425db823 (patch)
tree2c0bfe230591e2ee3b69c8605db6303e72489d03 /src/t_hash.c
parent6b9c6618384ef9fe8ea8054ec82c094ba1f69369 (diff)
downloadredis-8853698a6fededba4db8b8c2dc1bc94f425db823.tar.gz
Removed useless newlines from hashTypeCurrentObject().
Diffstat (limited to 'src/t_hash.c')
-rw-r--r--src/t_hash.c3
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;
}