mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 05:58:19 +00:00
mastersrv: Fix warning about unused mut
This commit is contained in:
parent
e0b62edb0b
commit
20d58e6edb
|
@ -408,7 +408,7 @@ impl Servers {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
hash_map::Entry::Occupied(mut o) => {
|
hash_map::Entry::Occupied(mut o) => {
|
||||||
let mut server = &mut o.get_mut();
|
let server = &mut o.get_mut();
|
||||||
if insert_addr {
|
if insert_addr {
|
||||||
server.addresses.push(addr);
|
server.addresses.push(addr);
|
||||||
server.addresses.sort_unstable();
|
server.addresses.sort_unstable();
|
||||||
|
|
Loading…
Reference in a new issue