1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-26 08:29:26 +00:00

style(core): prefix unused parameters with _

[no changelog]
This commit is contained in:
Roman Zeyde 2025-06-08 22:00:21 +03:00 committed by Vít Obrusník
parent 01465aac7c
commit 14909e37ed
2 changed files with 8 additions and 8 deletions

View File

@ -1093,10 +1093,10 @@ impl FirmwareUI for UICaesar {
} }
fn show_pairing_code( fn show_pairing_code(
title: TString<'static>, _title: TString<'static>,
description: TString<'static>, _description: TString<'static>,
code: TString<'static>, _code: TString<'static>,
button: bool, _button: bool,
) -> Result<impl LayoutMaybeTrace, Error> { ) -> Result<impl LayoutMaybeTrace, Error> {
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError( Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(
c"show_pairing_code not supported", c"show_pairing_code not supported",

View File

@ -920,10 +920,10 @@ impl FirmwareUI for UIDelizia {
} }
fn show_pairing_code( fn show_pairing_code(
title: TString<'static>, _title: TString<'static>,
description: TString<'static>, _description: TString<'static>,
code: TString<'static>, _code: TString<'static>,
button: bool, _button: bool,
) -> Result<impl LayoutMaybeTrace, Error> { ) -> Result<impl LayoutMaybeTrace, Error> {
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError( Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(
c"show_pairing_code not supported", c"show_pairing_code not supported",