Browse Source

net: annotate deliberate case fallthrough

Nathaniel Wesley Filardo 4 years ago
parent
commit
e1a81aa114
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/modules/net.c

+ 1 - 0
app/modules/net.c

@@ -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;