Skip to content

Commit

Permalink
fix: replace C-style initialization with correct C++ initialization (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
j0tunn authored and pull[bot] committed Mar 22, 2024
1 parent 613bdda commit 3502118
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/platform/Linux/bluez/BluezConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down

0 comments on commit 3502118

Please sign in to comment.