Skip to content

Commit 2a94c52

Browse files
chore: fix various issues
1 parent 15860bb commit 2a94c52

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

examples/ffi/array_queue.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ int main(void) {
9696
}
9797

9898
for (const auto &c : counts) {
99-
assert(c.load(std::memory_order_seq_cst) == num_threads);
99+
auto value = c.load(std::memory_order_seq_cst);
100+
assert(value == num_threads);
101+
std::ignore = value;
100102
}
101103
}

libdd-data-pipeline-ffi/src/trace_exporter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use libdd_data_pipeline::trace_exporter::{
1313
TelemetryConfig, TraceExporter, TraceExporterInputFormat, TraceExporterOutputFormat,
1414
};
1515
use std::{ptr::NonNull, time::Duration};
16-
use tracing::{debug, error};
16+
use tracing::debug;
1717

1818
#[inline]
1919
fn sanitize_string(str: CharSlice) -> Result<String, Box<ExporterError>> {

0 commit comments

Comments
 (0)