1
0
Fork 0
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:
Andy Green 2018-03-19 19:22:41 +08:00
parent 5fe9335b36
commit 2519ac9ced

View file

@ -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) {