Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZhihao-723 committed Jun 26, 2024
1 parent be6eecd commit 0899f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/core/src/clp/LibarchiveFileReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ auto LibarchiveFileReader::peek_buffered_data() const -> std::span<char const> {
throw OperationFailed(ErrorCode_NotInit, __FILENAME__, __LINE__);
}
if (nullptr == m_data_block) {
return {static_cast<char const*>(m_data_block), 0};
return {};
}
if (m_pos_in_file < m_data_block_pos_in_file) {
// Position in the file is before the current data block, so we return nulls corresponding
Expand Down

0 comments on commit 0899f45

Please sign in to comment.