Skip to content

Commit

Permalink
wolfio: fix unused switch case phr_get_chunk_data.
Browse files Browse the repository at this point in the history
  • Loading branch information
philljj committed Oct 21, 2024
1 parent de51203 commit 6a5083c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/wolfio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1925,10 +1925,11 @@ int wolfIO_HttpProcessResponseGenericIO(WolfSSLGenericIORecvCb ioCb,
chunkSz = (int)strtol(start, NULL, 16); /* hex format */
state = (chunkSz == 0) ? phr_http_end : phr_get_chunk_data;
break;
case phr_get_chunk_data:
/* processing for chunk data done above, since \r\n isn't required */
/* processing for phr_get_chunk_data done above, since
* \r\n isn't required */
case phr_wait_end:
case phr_http_end:
default:
/* do nothing */
break;
} /* switch (state) */
Expand Down

0 comments on commit 6a5083c

Please sign in to comment.