Skip to content

Commit 40ae352

Browse files
committed
Fix typo
1 parent e10fefc commit 40ae352

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/util/mock/MockNodeConfig.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ uint16_t SizeForType(EmberAfAttributeType type)
7777
// this type of attribute is not supported for tests, we cannot guess its size
7878
//
7979
// see attribute-type.h for a list of attributes
80-
ChipLogError(Test, "Warning: size for attribute type 0x%x is not set", type) return 0;
80+
ChipLogError(Test, "Warning: size for attribute type 0x%x is not set", type);
81+
return 0;
8182
}
8283
}
8384

@@ -113,8 +114,7 @@ MockClusterConfig::MockClusterConfig(ClusterId aId, std::initializer_list<MockAt
113114
std::initializer_list<MockEventConfig> aEvents,
114115
std::initializer_list<CommandId> aAcceptedCommands,
115116
std::initializer_list<CommandId> aGeneratedCommands) :
116-
id(aId),
117-
attributes(aAttributes), events(aEvents), mEmberCluster{}, mAcceptedCommands(aAcceptedCommands),
117+
id(aId), attributes(aAttributes), events(aEvents), mEmberCluster{}, mAcceptedCommands(aAcceptedCommands),
118118
mGeneratedCommands(aGeneratedCommands)
119119
{
120120
VerifyOrDie(aAttributes.size() < UINT16_MAX);

0 commit comments

Comments
 (0)