mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-04-23 00:27:05 +00:00
Updated default_options in config.rs to capture the return value of [].map, eliminating a build-time warning.
This commit is contained in:
@@ -1582,6 +1582,7 @@ impl PeerConfig {
|
|||||||
|
|
||||||
fn default_options() -> HashMap<String, String> {
|
fn default_options() -> HashMap<String, String> {
|
||||||
let mut mp: HashMap<String, String> = Default::default();
|
let mut mp: HashMap<String, String> = Default::default();
|
||||||
|
let _ =
|
||||||
[
|
[
|
||||||
keys::OPTION_CODEC_PREFERENCE,
|
keys::OPTION_CODEC_PREFERENCE,
|
||||||
keys::OPTION_CUSTOM_FPS,
|
keys::OPTION_CUSTOM_FPS,
|
||||||
|
|||||||
Reference in New Issue
Block a user