File tree 1 file changed +4
-4
lines changed
src/controller/tests/data_model
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ CHIP_ERROR ReadSingleClusterData(const Access::SubjectDescriptor & aSubjectDescr
110
110
path.mAttributeId =
111
111
static_cast <AttributeId>(path.mAttributeId + (i / 2 ) + (responseDirective == kSendManyDataResponsesWrongPath ));
112
112
AttributeEncodeState state;
113
- if (apEncoderState = = nullptr )
113
+ if (apEncoderState ! = nullptr )
114
114
{
115
115
state = *apEncoderState;
116
116
}
@@ -128,7 +128,7 @@ CHIP_ERROR ReadSingleClusterData(const Access::SubjectDescriptor & aSubjectDescr
128
128
aPath.mAttributeId == app::Clusters::UnitTesting::Attributes::ListFabricScoped::Id)
129
129
{
130
130
AttributeEncodeState state;
131
- if (apEncoderState = = nullptr )
131
+ if (apEncoderState ! = nullptr )
132
132
{
133
133
state = *apEncoderState;
134
134
}
@@ -148,7 +148,7 @@ CHIP_ERROR ReadSingleClusterData(const Access::SubjectDescriptor & aSubjectDescr
148
148
aPath.mAttributeId == app::Clusters::UnitTesting::Attributes::Int16u::Id)
149
149
{
150
150
AttributeEncodeState state;
151
- if (apEncoderState = = nullptr )
151
+ if (apEncoderState ! = nullptr )
152
152
{
153
153
state = *apEncoderState;
154
154
}
@@ -184,7 +184,7 @@ CHIP_ERROR ReadSingleClusterData(const Access::SubjectDescriptor & aSubjectDescr
184
184
aPath.mAttributeId == app::Clusters::IcdManagement::Attributes::OperatingMode::Id)
185
185
{
186
186
AttributeEncodeState state;
187
- if (apEncoderState = = nullptr )
187
+ if (apEncoderState ! = nullptr )
188
188
{
189
189
state = *apEncoderState;
190
190
}
You can’t perform that action at this time.
0 commit comments