Skip to content

Commit 268a958

Browse files
committed
desktop: Disable unused-mut warning on non-Linux builds
1 parent 85d8b2a commit 268a958

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

desktop/src/app.rs

+1
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ impl ApplicationHandler<RuffleEvent> for App {
438438
let preferred_height = self.preferences.cli.height;
439439
let start_fullscreen = self.preferences.cli.fullscreen;
440440

441+
#[cfg_attr(not(target_os = "linux"), allow(unused_mut))]
441442
let mut window_attributes = WindowAttributes::default()
442443
.with_visible(false)
443444
.with_title("Ruffle")

0 commit comments

Comments
 (0)