mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
explict return statement to suppress compiler warning
This commit is contained in:
@@ -433,6 +433,7 @@ pack_dict(lua_State *L, struct bson *b, bool isarray) {
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
luaL_error(L, "Invalid key type : %s", lua_typename(L, kt));
|
luaL_error(L, "Invalid key type : %s", lua_typename(L, kt));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
append_one(b, L, key, sz);
|
append_one(b, L, key, sz);
|
||||||
|
|||||||
Reference in New Issue
Block a user