mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-14 03:56:27 +00:00
simple remove some warns
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -110,12 +110,6 @@ pub fn get_license() -> String {
|
||||
Default::default()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
#[cfg(target_os = "windows")]
|
||||
pub fn get_option_opt(key: &str) -> Option<String> {
|
||||
OPTIONS.lock().unwrap().get(key).map(|x| x.clone())
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn get_option(key: String) -> String {
|
||||
get_option_(&key)
|
||||
|
||||
Reference in New Issue
Block a user