libbladeRF: Addressed potentially uninitialized variable
status could be undefined the library is built with no items in the usb_driver_list. This is unlikely, but keeps the build clean.
This commit is contained in:
parent
41bcf7b12c
commit
c02578f402
1 changed files with 1 additions and 1 deletions
|
|
@ -1543,7 +1543,7 @@ static int usb_load_fw_from_bootloader(bladerf_backend backend,
|
|||
uint8_t bus, uint8_t addr,
|
||||
struct fx3_firmware *fw)
|
||||
{
|
||||
int status;
|
||||
int status = 0;
|
||||
size_t i;
|
||||
struct bladerf_usb usb;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue