Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
e1a81aa1
Commit
e1a81aa1
authored
Apr 07, 2020
by
Nathaniel Wesley Filardo
Committed by
Marcel Stör
Jun 09, 2020
Browse files
net: annotate deliberate case fallthrough
parent
9f8c2aea
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/modules/net.c
View file @
e1a81aa1
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment