net: annotate deliberate case fallthrough

This commit is contained in:
Nathaniel Wesley Filardo 2020-04-07 17:40:01 +01:00 committed by Marcel Stör
parent 9f8c2aea6f
commit e1a81aa114
1 changed files with 1 additions and 0 deletions

View File

@ -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_disconnect_ref = LUA_NOREF;
ud->client.hold = 0;
/* FALLTHROUGH */
case TYPE_UDP_SOCKET:
ud->client.wait_dns = 0;
ud->client.cb_dns_ref = LUA_NOREF;