remove useless line

This commit is contained in:
rustdesk 2023-08-23 12:04:19 +08:00
parent bc954b75ce
commit f4d120b11f

View File

@ -594,7 +594,6 @@ pub fn current_is_wayland() -> bool {
#[inline]
pub fn get_new_version() -> String {
// hbb_common::get_version_from_url(&*SOFTWARE_UPDATE_URL.lock().unwrap())
(*SOFTWARE_UPDATE_URL.lock().unwrap().rsplit('/').next().unwrap_or("")).to_string()
}