1
0
Fork 0

Fix false positive warning in CLAP GUI parameters

This commit is contained in:
Robbert van der Helm 2022-03-11 00:49:34 +01:00
parent 246c319bbf
commit c1ca97c78c

View file

@ -516,7 +516,8 @@ impl<P: ClapPlugin> Wrapper<P> {
Some(host_params) if !self.is_processing.load(Ordering::SeqCst) => {
unsafe { (host_params.request_flush)(&*self.host_callback) };
}
_ => nih_debug_assert_failure!("The host does not support parameters? What?"),
Some(_) => (),
None => nih_debug_assert_failure!("The host does not support parameters? What?"),
}
result