[component] Fix components for compatibility with stricter compilers (#14545)

Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
This commit is contained in:
Diorcet Yann
2026-03-07 18:50:44 +00:00
committed by GitHub
co-authored by Jonathan Swoboda
parent a0cd35c5fc
commit 3f700bac1c
8 changed files with 21 additions and 12 deletions
+1 -1
View File
@@ -451,7 +451,7 @@ void ESP32BLE::loop() {
ESP_LOGV(TAG, "gap_event_handler - %d", gap_event);
#ifdef ESPHOME_ESP32_BLE_GAP_EVENT_HANDLER_COUNT
{
esp_ble_gap_cb_param_t *param;
esp_ble_gap_cb_param_t *param = NULL;
// clang-format off
switch (gap_event) {
// All three scan complete events have the same structure with just status