Fix warnings

This commit is contained in:
Henrik Friedrichsen
2022-01-09 21:20:15 +01:00
parent 75a7aed4b1
commit 68b3b9b510
9 changed files with 22 additions and 44 deletions

View File

@@ -63,11 +63,7 @@ pub fn read_share() -> Option<String> {
}
}
}
if let Some(s) = string {
Some(s)
} else {
None
}
string
} else {
//use x11 clipboard
ClipboardProvider::new()