mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
ci: make cppcheck happy
This commit is contained in:
parent
80b58e21c6
commit
fb72d16a38
1 changed files with 0 additions and 4 deletions
|
@ -311,10 +311,6 @@ int websocket_protocol_cb(struct lws *wsi, enum lws_callback_reasons reason, voi
|
|||
int avail, enqueued;
|
||||
struct websocket *w = (struct websocket *) n->_vd;
|
||||
struct sample *smps[cnt];
|
||||
if (!smps) {
|
||||
warning("Failed to allocate memory for connection: %s", websocket_connection_name(c));
|
||||
break;
|
||||
}
|
||||
|
||||
avail = sample_alloc_many(&w->pool, smps, cnt);
|
||||
if (avail < cnt)
|
||||
|
|
Loading…
Add table
Reference in a new issue