Skip to content

Commit

Permalink
fix: warning unused var
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitar Atanasov <datanasov@cpdbg.com>
  • Loading branch information
phush0 committed Apr 28, 2024
1 parent a66982d commit 4feb8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion razer_control_gui/src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ impl DeviceManager {
return 0;
}

pub fn get_power_mode(&mut self, ac:usize) -> u8 {
pub fn get_power_mode(&mut self, _ac:usize) -> u8 {
if let Some(laptop) = self.get_device() {
return laptop.get_power_mode(0x01);
}
Expand Down

0 comments on commit 4feb8b5

Please sign in to comment.