Skip to content

Commit

Permalink
Remove write-only variable.
Browse files Browse the repository at this point in the history
This is triggering errors due to -Werror on some compilers.
  • Loading branch information
bzbarsky-apple committed Dec 1, 2022
1 parent 53e51d8 commit 8dd521f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/app/MessageDef/EventPathIBs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace app {
CHIP_ERROR EventPathIBs::Parser::PrettyPrint() const
{
CHIP_ERROR err = CHIP_NO_ERROR;
size_t NumPath = 0;
TLV::TLVReader reader;

PRETTY_PRINT("EventPathIBs =");
Expand All @@ -54,8 +53,6 @@ CHIP_ERROR EventPathIBs::Parser::PrettyPrint() const
ReturnErrorOnFailure(path.PrettyPrint());
PRETTY_PRINT_DECDEPTH();
}

++NumPath;
}

PRETTY_PRINT("],");
Expand Down

0 comments on commit 8dd521f

Please sign in to comment.