Merge pull request #420 from logiclrd/fix-warning

Fix build warnings
This commit is contained in:
RustDesk authored and GitHub committed 2025-11-02 21:22:28 +08:00
commit 91d115c981
2 files changed
+2

No files matched your search

+1
View File
@@ -1582,6 +1582,7 @@ impl PeerConfig {
fn default_options() -> HashMap<String, String> {
let mut mp: HashMap<String, String> = Default::default();
let _ =
[
keys::OPTION_CODEC_PREFERENCE,
keys::OPTION_CUSTOM_FPS,
+1
View File
@@ -62,6 +62,7 @@ extern "C" fn breakdown_signal_handler(sig: i32) {
.ok();
}
unsafe {
#[allow(static_mut_refs)]
if let Some(callback) = &GLOBAL_CALLBACK {
callback()
}