The variable block_len in function coap_next_block_for_option() can be used uninitialized in case of empty packet in coap_packet_get_payload(). Mute the compiler warning with default value of 0. Signed-off-by: Dave Lacerte <lacerte.dave@hydroquebec.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| coap_client.c | ||
| coap_link_format.c | ||
| coap_server_shell.c | ||
| coap_server.c | ||
| coap.c | ||
| Kconfig | ||