coverity 188316: hide supposed dead code from coverity with NO_EXTENSIONS
This commit is contained in:
parent
b0b10001fe
commit
e157fcfe37
1 changed files with 6 additions and 1 deletions
|
@ -555,7 +555,12 @@ utf8_fail:
|
|||
if (callback_action == LWS_CALLBACK_CLIENT_RECEIVE_PONG)
|
||||
lwsl_info("Client doing pong callback\n");
|
||||
|
||||
if (n && eff_buf.token_len)
|
||||
if (
|
||||
/* coverity says dead code otherwise */
|
||||
#if !defined(LWS_NO_EXTENSIONS)
|
||||
n &&
|
||||
#endif
|
||||
eff_buf.token_len)
|
||||
/* extension had more... main loop will come back
|
||||
* we want callback to be done with this set, if so,
|
||||
* because lws_is_final() hides it was final until the
|
||||
|
|
Loading…
Add table
Reference in a new issue