From eb35ac188e0c8019a7ce5a8b4634386740d2e313 Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Sun, 20 Feb 2022 22:08:39 +0900 Subject: [PATCH] video: add __maybe_unused attribute to suppress warnings --- include/video_font_6x11.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/video_font_6x11.h b/include/video_font_6x11.h index afd58f8d3c..cfb02f6132 100644 --- a/include/video_font_6x11.h +++ b/include/video_font_6x11.h @@ -16,7 +16,7 @@ #define VIDEO_FONT_HEIGHT 11 #define VIDEO_FONT_SIZE (VIDEO_FONT_CHARS * VIDEO_FONT_HEIGHT) -static unsigned char video_fontdata[VIDEO_FONT_SIZE] = { +static unsigned char __maybe_unused video_fontdata[VIDEO_FONT_SIZE] = { /* 0 0x00 '^@' */ 0x00, /* 00000000 */