Skip to content

Commit

Permalink
display: Fix warning in CHAINLOADING=1 builds
Browse files Browse the repository at this point in the history
Signed-off-by: Hector Martin <[email protected]>
  • Loading branch information
marcan committed Jan 11, 2025
1 parent 7269fa6 commit 43592ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,8 @@ int display_init(void)
disp_path = "/arm-io/disp0";

bool has_notch = false;
UNUSED(has_notch);

int product = adt_path_offset(adt, "/product");
if (product < 0) {
printf("/product node not found!\n");
Expand Down

0 comments on commit 43592ce

Please sign in to comment.