From 00caa7ce353c02cfc22f0cc27f6361e968157953 Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Sat, 23 Jan 2021 12:58:45 +0100 Subject: Fix warnings and 2D compilation when parallelism is ON but SIMD is OFF. --- src_testbed/harness/mod.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src_testbed') diff --git a/src_testbed/harness/mod.rs b/src_testbed/harness/mod.rs index c80669f..afdc23a 100644 --- a/src_testbed/harness/mod.rs +++ b/src_testbed/harness/mod.rs @@ -67,9 +67,6 @@ type Callbacks = Vec< #[allow(dead_code)] impl Harness { pub fn new_empty() -> Self { - #[cfg(feature = "parallel")] - let num_threads = num_cpus::get_physical(); - let contact_channel = crossbeam::channel::unbounded(); let proximity_channel = crossbeam::channel::unbounded(); let event_handler = ChannelEventCollector::new(proximity_channel.0, contact_channel.0); -- cgit