Skip to content

Commit

Permalink
Restyled by whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and andreilitvin committed Oct 31, 2024
1 parent 14c6d56 commit a84da17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/core/TLVReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ CHIP_ERROR TLVReader::ReadElement()
// understand that ReadData initializes stagingBuf
stagingBuf[1] = 0;

// If the head of the element goes past the end of the current input buffer,
// If the head of the element goes past the end of the current input buffer,
// we need to read it into the staging buffer to parse it. Just do that unconditionally,
// even if the head does not go past end of current buffer, to save codesize.
ReturnErrorOnFailure(ReadData(stagingBuf, elemHeadBytes));
Expand Down

0 comments on commit a84da17

Please sign in to comment.