diff --git a/src/credentials/GroupDataProvider.h b/src/credentials/GroupDataProvider.h index 6beac89aaa8bef..b7484d778ad318 100644 --- a/src/credentials/GroupDataProvider.h +++ b/src/credentials/GroupDataProvider.h @@ -121,7 +121,7 @@ class GroupDataProvider { static constexpr size_t kLengthBytes = Crypto::CHIP_CRYPTO_SYMMETRIC_KEY_LENGTH_BYTES; // Validity start time in microseconds since 2000-01-01T00:00:00 UTC ("the Epoch") - uint64_t start_time; + uint64_t start_time = 0; // Actual key bits. Depending on context, it may be a raw epoch key (as seen within `SetKeySet` calls) // or it may be the derived operational group key (as seen in any other usage). uint8_t key[kLengthBytes]; @@ -143,7 +143,7 @@ class GroupDataProvider {} // The actual keys for the group key set - EpochKey epoch_keys[kEpochKeysMax] = {}; + EpochKey epoch_keys[kEpochKeysMax]; // Logical id provided by the Administrator that configured the entry uint16_t keyset_id = 0; // Security policy to use for groups that use this keyset @@ -202,7 +202,7 @@ class GroupDataProvider virtual ~GroupDataProvider() = default; // Not copyable - GroupDataProvider(const GroupDataProvider &) = delete; + GroupDataProvider(const GroupDataProvider &) = delete; GroupDataProvider & operator=(const GroupDataProvider &) = delete; uint16_t GetMaxGroupsPerFabric() const { return mMaxGroupsPerFabric; }