simple remove some warns

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-06-05 23:39:12 +08:00
parent 205798b611
commit 1bc9b8c583
2 changed files with 3 additions and 9 deletions

View File

@@ -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)