diff --git a/src/display.c b/src/display.c index 1bb28ae26..05408d726 100644 --- a/src/display.c +++ b/src/display.c @@ -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");