diff --git a/src/wrapper/util.rs b/src/wrapper/util.rs index 3baee0c4..9dc9b918 100644 --- a/src/wrapper/util.rs +++ b/src/wrapper/util.rs @@ -257,7 +257,7 @@ impl Drop for ScopedFtz { if self.should_disable_again { #[cfg(target_feature = "sse")] { - return unsafe { + unsafe { std::arch::x86_64::_MM_SET_FLUSH_ZERO_MODE( std::arch::x86_64::_MM_FLUSH_ZERO_OFF, ) diff --git a/src/wrapper/vst3/factory.rs b/src/wrapper/vst3/factory.rs index ffd1a278..57eac767 100644 --- a/src/wrapper/vst3/factory.rs +++ b/src/wrapper/vst3/factory.rs @@ -27,7 +27,7 @@ pub struct Factory { impl Factory

{ pub fn new() -> Box { - Self::allocate(PhantomData::default()) + Self::allocate(PhantomData) } }