summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-09-20 11:18:59 +0200
committerantirez <antirez@gmail.com>2019-09-20 11:19:07 +0200
commit0a146a8be4aea201351d4292a936bbf508c48d4b (patch)
tree0119a0e6b936a5e6063b2484928701b1b4b5bbf5
parentbd90c99f83257997d7ed0203e9f7201541813681 (diff)
downloadredis-0a146a8be4aea201351d4292a936bbf508c48d4b.tar.gz
Add useless break for uniformity / future protection.
-rw-r--r--src/scripting.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripting.c b/src/scripting.c
index fa896de21..9ac8af2e7 100644
--- a/src/scripting.c
+++ b/src/scripting.c
@@ -140,7 +140,7 @@ char *redisProtocolToLuaType(lua_State *lua, char* reply) {
case '~': p = redisProtocolToLuaType_Aggregate(lua,reply,*p); break;
case '_': p = redisProtocolToLuaType_Null(lua,reply); break;
case '#': p = redisProtocolToLuaType_Bool(lua,reply,p[1]); break;
- case ',': p = redisProtocolToLuaType_Double(lua,reply);
+ case ',': p = redisProtocolToLuaType_Double(lua,reply); break;
}
return p;
}