We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e28e9e commit adeaa63Copy full SHA for adeaa63
subsys/mgmt/mcumgr/grp/img_mgmt_client/src/img_mgmt_client.c
@@ -255,7 +255,7 @@ static size_t upload_message_header_size(struct img_gr_upload *upload_state)
255
int map_count;
256
zcbor_state_t zse[CONFIG_MCUMGR_SMP_CBOR_MAX_DECODING_LEVELS + 2];
257
uint8_t temp_buf[MCUMGR_UPLOAD_INIT_HEADER_BUF_SIZE];
258
- uint8_t temp_data;
+ uint8_t temp_data = 0U;
259
260
/* Calculation of message header with data length of 1 */
261
0 commit comments