Skip to content

Commit

Permalink
Remove unused variable to supress warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Jul 9, 2023
1 parent b5eeba7 commit 6496a05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lwesp/src/lwesp/lwesp_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,6 @@ lwespi_parse_received(lwesp_recv_t* rcv) {
if (rcv->len > 20 && (s = strstr(rcv->data, "+LINK_CONN:")) != NULL) {
/* Parse only valid connections, discard others */
if (lwespi_parse_link_conn(s) && esp.m.link_conn.num < LWESP_CFG_MAX_CONNS) {
uint8_t id;
lwesp_conn_t* conn = &esp.m.conns[esp.m.link_conn.num]; /* Get connection pointer */
if (esp.m.link_conn.failed && conn->status.f.active) { /* Connection failed and now closed? */
conn->status.f.active = 0; /* Connection was just closed */
Expand Down

0 comments on commit 6496a05

Please sign in to comment.