Skip to content

Commit

Permalink
move function upward
Browse files Browse the repository at this point in the history
  • Loading branch information
davemarco committed Nov 10, 2024
1 parent f3862fe commit 04ea35b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/clp_ffi_js/ir/UnstructuredIrStreamReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,10 @@ auto UnstructuredIrStreamReader::decode_range(size_t begin_idx, size_t end_idx,
log_event_idx = i;
}
auto const& log_event_with_filter_data{m_encoded_log_events[log_event_idx]};
auto const& unstructured_log_event = log_event_with_filter_data.get_log_event();
auto const& log_level = log_event_with_filter_data.get_log_level();
auto const& timestamp = log_event_with_filter_data.get_timestamp();

auto const& unstructured_log_event = log_event_with_filter_data.get_log_event();

auto const parsed{unstructured_log_event.get_message().decode_and_unparse()};
if (false == parsed.has_value()) {
throw ClpFfiJsException{
Expand Down

0 comments on commit 04ea35b

Please sign in to comment.