Skip to content

Commit

Permalink
remove file size check
Browse files Browse the repository at this point in the history
  • Loading branch information
AVMatthews committed Dec 18, 2024
1 parent 51be440 commit 7c0e500
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions components/core/src/clp_s/JsonParser.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "JsonParser.hpp"

#include <cstdint>
#include <filesystem>
#include <iostream>
#include <optional>
#include <stack>
Expand Down Expand Up @@ -837,11 +836,6 @@ void JsonParser::parse_kv_log_event(KeyValuePairLogEvent const& kv) {

auto JsonParser::parse_from_ir() -> bool {
for (auto& file_path : m_file_paths) {
auto const fsize = std::filesystem::file_size(file_path);
if (0 == fsize) {
m_archive_writer->close();
return false;
}
clp::streaming_compression::zstd::Decompressor decompressor;
size_t curr_pos{};
size_t last_pos{};
Expand Down

0 comments on commit 7c0e500

Please sign in to comment.