From 1fcefab966e5c2fa89ef79ca7e4b4a059e57f13e Mon Sep 17 00:00:00 2001 From: Skyler Lehmkuhl Date: Mon, 24 Nov 2025 11:10:47 -0500 Subject: [PATCH] fix compilation warnings --- daw-backend/src/io/midi_input.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/daw-backend/src/io/midi_input.rs b/daw-backend/src/io/midi_input.rs index 559df53..c3fed06 100644 --- a/daw-backend/src/io/midi_input.rs +++ b/daw-backend/src/io/midi_input.rs @@ -146,18 +146,9 @@ impl MidiInputManager { connection, }); println!("MIDI: Connected to: {}", port_name); - - // Need to recreate MidiInput for next iteration - let _midi_in = MidiInput::new("Lightningbeam") - .map_err(|e| format!("Failed to recreate MIDI input: {}", e))?; - midi_in = _midi_in; } Err(e) => { eprintln!("MIDI: Failed to connect to {}: {}", port_name, e); - // Recreate MidiInput to continue with other ports - let _midi_in = MidiInput::new("Lightningbeam") - .map_err(|e| format!("Failed to recreate MIDI input: {}", e))?; - midi_in = _midi_in; } } }