mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
coverity 188316: supposed deadcode
This commit is contained in:
parent
5fe9335b36
commit
2519ac9ced
1 changed files with 4 additions and 1 deletions
|
@ -508,6 +508,7 @@ ping_drop:
|
|||
goto already_done;
|
||||
|
||||
drain_extension:
|
||||
#if !defined(LWS_WITHOUT_EXTENSIONS)
|
||||
lwsl_ext("%s: passing %d to ext\n", __func__, eff_buf.token_len);
|
||||
|
||||
n = lws_ext_cb_active(wsi, LWS_EXT_CB_PAYLOAD_RX, &eff_buf, 0);
|
||||
|
@ -516,7 +517,9 @@ drain_extension:
|
|||
wsi->socket_is_permanently_unusable = 1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
#else
|
||||
n = 0;
|
||||
#endif
|
||||
lwsl_ext("post inflate eff_buf len %d\n", eff_buf.token_len);
|
||||
|
||||
if (rx_draining_ext && !eff_buf.token_len) {
|
||||
|
|
Loading…
Add table
Reference in a new issue