File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ CHIP_ERROR GroupOutgoingCounters::Init(chip::PersistentStorageDelegate * storage
243
243
uint32_t temp;
244
244
CHIP_ERROR err;
245
245
err = mStorage ->SyncGetKeyValue (key.GroupControlCounter (), &temp, size);
246
- if (err == CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND || err == CHIP_ERROR_KEY_NOT_FOUND )
246
+ if (err == CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND)
247
247
{
248
248
// might be the first time we retrieve the value
249
249
// TODO handle this case
@@ -259,7 +259,7 @@ CHIP_ERROR GroupOutgoingCounters::Init(chip::PersistentStorageDelegate * storage
259
259
}
260
260
261
261
err = mStorage ->SyncGetKeyValue (key.GroupDataCounter (), &temp, size);
262
- if (err == CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND || err == CHIP_ERROR_KEY_NOT_FOUND )
262
+ if (err == CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND)
263
263
{
264
264
// might be the first time we retrieve the value
265
265
// TODO handle this case
You can’t perform that action at this time.
0 commit comments