mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-02-06 21:18:25 +08:00
net: annotate deliberate case fallthrough
This commit is contained in:
parent
9f8c2aea6f
commit
e1a81aa114
@ -110,6 +110,7 @@ lnet_userdata *net_create( lua_State *L, enum net_type type ) {
|
|||||||
ud->client.cb_reconnect_ref = LUA_NOREF;
|
ud->client.cb_reconnect_ref = LUA_NOREF;
|
||||||
ud->client.cb_disconnect_ref = LUA_NOREF;
|
ud->client.cb_disconnect_ref = LUA_NOREF;
|
||||||
ud->client.hold = 0;
|
ud->client.hold = 0;
|
||||||
|
/* FALLTHROUGH */
|
||||||
case TYPE_UDP_SOCKET:
|
case TYPE_UDP_SOCKET:
|
||||||
ud->client.wait_dns = 0;
|
ud->client.wait_dns = 0;
|
||||||
ud->client.cb_dns_ref = LUA_NOREF;
|
ud->client.cb_dns_ref = LUA_NOREF;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user