From 3757179b7aef2708ff69d2e12cd4c62d7d18ab19 Mon Sep 17 00:00:00 2001 From: Anton Usmansky Date: Mon, 22 Jan 2024 17:42:10 +0300 Subject: [PATCH] fix: replace C-style initialization with correct C++ initialization (#31598) --- src/platform/Linux/bluez/BluezConnection.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platform/Linux/bluez/BluezConnection.h b/src/platform/Linux/bluez/BluezConnection.h index fa8a6392fa1ec5..06430492233989 100644 --- a/src/platform/Linux/bluez/BluezConnection.h +++ b/src/platform/Linux/bluez/BluezConnection.h @@ -123,12 +123,12 @@ class BluezConnection BluezGattService1 * mpService = nullptr; BluezGattCharacteristic1 * mpC1 = nullptr; - IOChannel mC1Channel = { 0 }; + IOChannel mC1Channel = {}; BluezGattCharacteristic1 * mpC2 = nullptr; - IOChannel mC2Channel = { 0 }; + IOChannel mC2Channel = {}; #if CHIP_ENABLE_ADDITIONAL_DATA_ADVERTISING BluezGattCharacteristic1 * mpC3 = nullptr; - IOChannel mC3Channel = { 0 }; + IOChannel mC3Channel = {}; #endif };