Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Suppress unused warning on Camera.feed_lock

Richie McIlroya2ed563f0e18
diff --git a/crates/recording/src/sources/camera.rs b/crates/recording/src/sources/camera.rs
index abfdb88da..db0fa42b9 100644
--- a/crates/recording/src/sources/camera.rs
+++ b/crates/recording/src/sources/camera.rs
@@ -59,6 +59,7 @@ impl CameraFrameScaler {
}
pub struct Camera {
+ #[allow(dead_code)]
feed_lock: Arc<CameraFeedLock>,
stop_tx: Option<oneshot::Sender<()>>,
stopped: Arc<AtomicBool>,