Skip to content

Commit

Permalink
fix: compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Jun 26, 2024
1 parent 85f3919 commit d85e812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport/usb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl UsbTransport {
))?;
log::debug!("Found USB Device {:?}", device);

let mut device_handle = match device.open() {
let device_handle = match device.open() {
Ok(handle) => handle,
#[cfg(target_os = "windows")]
Err(rusb::Error::NotSupported) => {
Expand Down

0 comments on commit d85e812

Please sign in to comment.