fix(vdisplay/windows): drop an unused mut in isolate-retry (clippy -D warnings)
`let (mut paths, mut modes)` — `modes` is only read (`modes.as_slice()`), never mutated. A
pre-existing unused_mut (from 029d113) that the Linux CI never caught because win_display.rs is
#[cfg(windows)]; surfaced by a manual .173 build. Would fail the release-gated Windows clippy.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -415,7 +415,7 @@ pub(crate) unsafe fn isolate_displays_ccd(keep_target_id: u32) -> Option<SavedCo
|
|||||||
// live topology each attempt and re-apply until ONLY the keep target is active. Secure-desktop
|
// live topology each attempt and re-apply until ONLY the keep target is active. Secure-desktop
|
||||||
// correctness depends on this — the lock screen must not land on a stray panel while we stream.
|
// correctness depends on this — the lock screen must not land on a stray panel while we stream.
|
||||||
for attempt in 1..=4u32 {
|
for attempt in 1..=4u32 {
|
||||||
let (mut paths, mut modes) = query_active_config()?;
|
let (mut paths, modes) = query_active_config()?;
|
||||||
let mut others = 0u32;
|
let mut others = 0u32;
|
||||||
for p in paths.iter_mut() {
|
for p in paths.iter_mut() {
|
||||||
if p.targetInfo.id == keep_target_id {
|
if p.targetInfo.id == keep_target_id {
|
||||||
|
|||||||
Reference in New Issue
Block a user