From 194e3315eee91b95d0aeff53c6ffce8ad4b38833 Mon Sep 17 00:00:00 2001 From: ftheirs Date: Mon, 22 Jul 2024 17:49:46 -0300 Subject: [PATCH] Fix static analyzer (#139) * fix static analyzer * bump version --- app/ui/view_nbgl.c | 3 --- include/zxversion.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/ui/view_nbgl.c b/app/ui/view_nbgl.c index 6fdd3af..8e7b33b 100644 --- a/app/ui/view_nbgl.c +++ b/app/ui/view_nbgl.c @@ -356,8 +356,6 @@ static void review_configuration() { } static void config_useCaseAddressReview() { - nbgl_layoutTagValueList_t *extraPagesPtr = NULL; - uint8_t numItems = 0; if (viewdata.viewfuncGetNumItems == NULL || viewdata.viewfuncGetNumItems(&numItems) != zxerr_ok || numItems > NB_MAX_DISPLAYED_PAIRS_IN_REVIEW) { @@ -377,7 +375,6 @@ static void config_useCaseAddressReview() { pairList.nbMaxLinesForValue = 0; pairList.nbPairs = idx; pairList.pairs = pairs; - extraPagesPtr = &pairList; } viewdata.itemIdx = 0; diff --git a/include/zxversion.h b/include/zxversion.h index f33bf23..1236b84 100644 --- a/include/zxversion.h +++ b/include/zxversion.h @@ -17,4 +17,4 @@ #define ZXLIB_MAJOR 28 #define ZXLIB_MINOR 0 -#define ZXLIB_PATCH 1 +#define ZXLIB_PATCH 2