Skip to content

Commit 1799876

Browse files
j0tunnpull[bot]
authored andcommitted
fix: replace C-style initialization with correct C++ initialization (#31598)
1 parent fe60c09 commit 1799876

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/platform/Linux/bluez/BluezConnection.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ class BluezConnection
123123
BluezGattService1 * mpService = nullptr;
124124

125125
BluezGattCharacteristic1 * mpC1 = nullptr;
126-
IOChannel mC1Channel = { 0 };
126+
IOChannel mC1Channel = {};
127127
BluezGattCharacteristic1 * mpC2 = nullptr;
128-
IOChannel mC2Channel = { 0 };
128+
IOChannel mC2Channel = {};
129129
#if CHIP_ENABLE_ADDITIONAL_DATA_ADVERTISING
130130
BluezGattCharacteristic1 * mpC3 = nullptr;
131-
IOChannel mC3Channel = { 0 };
131+
IOChannel mC3Channel = {};
132132
#endif
133133
};
134134

0 commit comments

Comments
 (0)