mirror of https://github.com/ARMmbed/mbed-os.git
Fixing coverity findings
A couple of the coverity analysis findings are being treated here. For the rest there will be a separate PR.pull/8405/head
parent
7818733728
commit
0a9417299b
|
@ -1856,7 +1856,6 @@ uint8_t LoRaMac::get_max_possible_tx_size(uint8_t fopts_len)
|
|||
max_possible_payload_size = allowed_frm_payload_size - fopts_len;
|
||||
} else {
|
||||
max_possible_payload_size = allowed_frm_payload_size;
|
||||
fopts_len = 0;
|
||||
_mac_commands.clear_command_buffer();
|
||||
_mac_commands.clear_repeat_buffer();
|
||||
}
|
||||
|
|
|
@ -36,7 +36,8 @@ SPDX-License-Identifier: BSD-3-Clause
|
|||
#define CHANNELS_IN_MASK 16
|
||||
|
||||
LoRaPHY::LoRaPHY()
|
||||
: _radio(NULL)
|
||||
: _radio(NULL),
|
||||
_lora_time(NULL)
|
||||
{
|
||||
memset(&phy_params, 0, sizeof(phy_params));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue