1
0
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:
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(
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",

View File

@ -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",