Skip to content

Commit

Permalink
[Silabs] Added [[maybe_unused]] to remove errors when disable detail …
Browse files Browse the repository at this point in the history
…logging (project-chip#35788)
  • Loading branch information
fuxiaoming-lumi authored Sep 26, 2024
1 parent 648f088 commit c0500f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/silabs/multi-ota/OTAHooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

CHIP_ERROR chip::OTAMultiImageProcessorImpl::ProcessDescriptor(void * descriptor)
{
auto desc = static_cast<chip::OTAFirmwareProcessor::Descriptor *>(descriptor);
[[maybe_unused]] auto desc = static_cast<chip::OTAFirmwareProcessor::Descriptor *>(descriptor);
ChipLogDetail(SoftwareUpdate, "Descriptor: %ld, %s, %s", desc->version, desc->versionString, desc->buildDate);

return CHIP_NO_ERROR;
Expand Down

0 comments on commit c0500f7

Please sign in to comment.