From 8853698a6fededba4db8b8c2dc1bc94f425db823 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 15 Feb 2013 13:12:55 +0100 Subject: Removed useless newlines from hashTypeCurrentObject(). --- src/t_hash.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/t_hash.c') 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; } -- cgit v1.2.1