mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-24 07:28:34 +00:00
style(core): prefix unused parameters with _
[no changelog]
This commit is contained in:
parent
01465aac7c
commit
14909e37ed
@ -1093,10 +1093,10 @@ impl FirmwareUI for UICaesar {
|
||||
}
|
||||
|
||||
fn show_pairing_code(
|
||||
title: TString<'static>,
|
||||
description: TString<'static>,
|
||||
code: TString<'static>,
|
||||
button: bool,
|
||||
_title: TString<'static>,
|
||||
_description: TString<'static>,
|
||||
_code: TString<'static>,
|
||||
_button: bool,
|
||||
) -> Result<impl LayoutMaybeTrace, Error> {
|
||||
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(
|
||||
c"show_pairing_code not supported",
|
||||
|
@ -920,10 +920,10 @@ impl FirmwareUI for UIDelizia {
|
||||
}
|
||||
|
||||
fn show_pairing_code(
|
||||
title: TString<'static>,
|
||||
description: TString<'static>,
|
||||
code: TString<'static>,
|
||||
button: bool,
|
||||
_title: TString<'static>,
|
||||
_description: TString<'static>,
|
||||
_code: TString<'static>,
|
||||
_button: bool,
|
||||
) -> Result<impl LayoutMaybeTrace, Error> {
|
||||
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(
|
||||
c"show_pairing_code not supported",
|
||||
|
Loading…
Reference in New Issue
Block a user