Skip to content

Commit

Permalink
Should reset err if CHIP_ERROR_KEY_NOT_FOUND in ParseICDInfo (#30613)
Browse files Browse the repository at this point in the history
Fixes #30604
Fixes #30414
  • Loading branch information
erjiaqing authored and pull[bot] committed Jul 5, 2024
1 parent 0984226 commit 458af8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controller/CHIPDeviceController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2240,6 +2240,7 @@ CHIP_ERROR DeviceCommissioner::ParseICDInfo(ReadCommissioningInfo2 & info)
// This key is optional so not an error
err = CHIP_NO_ERROR;
info.isIcd = false;
err = CHIP_NO_ERROR;
}
else if (err == CHIP_ERROR_IM_STATUS_CODE_RECEIVED)
{
Expand Down

0 comments on commit 458af8e

Please sign in to comment.