Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

remove debug code

rustdesk1719e478e334
diff --git a/src/common.rs b/src/common.rs
index 7568a762d..a566cee9d 100644
--- a/src/common.rs
+++ b/src/common.rs
@@ -1526,8 +1526,6 @@ impl ClipboardContext {
#[inline]
#[cfg(any(target_os = "windows", target_os = "macos"))]
pub fn new() -> ResultType<ClipboardContext> {
- let x: Option<()> = None;
- x.unwrap();
Ok(ClipboardContext(arboard::Clipboard::new()?))
}