mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-06-05 21:04:49 +00:00
fix(nimble): Zero initialize variable to avoid garbage value
This commit is contained in:
@@ -8041,7 +8041,7 @@ ble_gap_host_check_status(void)
|
||||
#endif
|
||||
struct ble_hs_conn *conn;
|
||||
ble_addr_t oldest_peer_id_addr[MYNEWT_VAL(BLE_STORE_MAX_BONDS)];
|
||||
int num_peers;
|
||||
int num_peers = 0;
|
||||
|
||||
/* Stop Advertising */
|
||||
#if MYNEWT_VAL(BLE_EXT_ADV)
|
||||
|
||||
Reference in New Issue
Block a user