Skip to content

Commit

Permalink
Fix static analyzer (#139)
Browse files Browse the repository at this point in the history
* fix static analyzer

* bump version
  • Loading branch information
ftheirs authored Jul 22, 2024
1 parent e7ff9f4 commit 194e331
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions app/ui/view_nbgl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -377,7 +375,6 @@ static void config_useCaseAddressReview() {
pairList.nbMaxLinesForValue = 0;
pairList.nbPairs = idx;
pairList.pairs = pairs;
extraPagesPtr = &pairList;
}

viewdata.itemIdx = 0;
Expand Down
2 changes: 1 addition & 1 deletion include/zxversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

#define ZXLIB_MAJOR 28
#define ZXLIB_MINOR 0
#define ZXLIB_PATCH 1
#define ZXLIB_PATCH 2

0 comments on commit 194e331

Please sign in to comment.