From 0a26a21bbf2ac6e5a4d203d42063615d5dbf77ea Mon Sep 17 00:00:00 2001 From: n4l5u0r <59141606+n4l5u0r@users.noreply.github.com> Date: Fri, 13 Dec 2024 17:50:52 +0100 Subject: [PATCH] fix: codeql issues removal --- src/common/ui/display_nbgl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/ui/display_nbgl.c b/src/common/ui/display_nbgl.c index f1e154b..60611fd 100644 --- a/src/common/ui/display_nbgl.c +++ b/src/common/ui/display_nbgl.c @@ -578,8 +578,9 @@ void uiSignCredentialDeploymentVerificationKeyFlowDisplay(volatile unsigned int } void startEncryptedTransferDisplay(bool displayMemo) { - displayMemo = false; - // TODO: Implement this + if (displayMemo) { + return; + } } void uiSignPublicInformationForIpCompleteDisplay(void) { @@ -779,7 +780,6 @@ void startTransferDisplay(bool displayMemo, volatile unsigned int *flags) { review_choice_sign); *flags |= IO_ASYNCH_REPLY; - displayMemo = false; } void uiSignTransferToEncryptedDisplay(volatile unsigned int *flags) {