Skip to content

Commit

Permalink
Merge pull request #516 from LedgerHQ/xch/nbgl-unitialised-var
Browse files Browse the repository at this point in the history
nbgl_use_case.c: Fix unitialized variable passed as a callback
  • Loading branch information
xchapron-ledger committed Jan 26, 2024
2 parents f5bf91e + 2acfea8 commit 2fbbbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib_nbgl/src/nbgl_use_case.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ static void tickerCallback(void)
// function used to display the current page in review
static void displaySettingsPage(uint8_t page, bool forceFullRefresh)
{
nbgl_pageContent_t content;
nbgl_pageContent_t content = {0};

if ((onNav == NULL) || (onNav(page, &content) == false)) {
return;
Expand Down

0 comments on commit 2fbbbaf

Please sign in to comment.