mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-21 13:58:08 +00:00
chore(core/rust): remove warnings in translations
This commit is contained in:
parent
3fcb0acaff
commit
3884abde64
@ -405,6 +405,7 @@ impl<'a> TranslationsHeader<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn verify(&self) -> Result<(), Error> {
|
pub fn verify(&self) -> Result<(), Error> {
|
||||||
|
#[allow(unused_mut)]
|
||||||
let mut result = self.verify_with_keys(&public_keys::PUBLIC_KEYS);
|
let mut result = self.verify_with_keys(&public_keys::PUBLIC_KEYS);
|
||||||
#[cfg(feature = "debug")]
|
#[cfg(feature = "debug")]
|
||||||
if result.is_err() {
|
if result.is_err() {
|
||||||
|
@ -6,7 +6,6 @@ mod obj;
|
|||||||
mod public_keys;
|
mod public_keys;
|
||||||
mod translated_string;
|
mod translated_string;
|
||||||
|
|
||||||
pub use blob::MAX_HEADER_LEN;
|
|
||||||
pub use translated_string::TranslatedString as TR;
|
pub use translated_string::TranslatedString as TR;
|
||||||
pub const DEFAULT_LANGUAGE: &str = "en-US";
|
pub const DEFAULT_LANGUAGE: &str = "en-US";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user