diff --git a/host_wasmtime/src/nokhwa.rs b/host_wasmtime/src/nokhwa.rs index ac9f3fd..1839561 100644 --- a/host_wasmtime/src/nokhwa.rs +++ b/host_wasmtime/src/nokhwa.rs @@ -63,7 +63,7 @@ impl NokhwaDevice { let requested = RequestedFormat::new::(RequestedFormatType::AbsoluteHighestFrameRate); println!("NokhwaDevice creating a threaded camera"); - let mut camera = CallbackCamera::new(index, requested, |buffer| { + let camera = CallbackCamera::new(index, requested, |buffer| { println!("NokhwaDevice dummy callback (this should not be called)"); })?; Ok(Self { camera: camera })