mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
coverity: mark false positive
Coverity doesn't understand the state relationship means that ssi will only be used to create the proxy-side SS representing the remote client SS, which happens as the first command in the state flow. Mark the call up to disable the false error report.
This commit is contained in:
parent
1b77c2ff4c
commit
b709d50f8f
1 changed files with 1 additions and 0 deletions
|
@ -487,6 +487,7 @@ callback_ss_proxy(struct lws *wsi, enum lws_callback_reasons reason,
|
|||
ssi.state = ss_proxy_onward_state;
|
||||
ssi.flags = 0;
|
||||
|
||||
// coverity[uninit_use_in_call]
|
||||
n = lws_ss_deserialize_parse(&conn->parser,
|
||||
lws_get_context(wsi), conn->dsh, in, len,
|
||||
&conn->state, conn, &conn->ss, &ssi, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue