From c0f93693b276a71a3c86339289bb7fc17a5f2fea Mon Sep 17 00:00:00 2001 From: cancel Date: Thu, 9 Jan 2020 02:23:42 +0900 Subject: [PATCH] Add attribute to allow unused util fn fg_bg --- term_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/term_util.h b/term_util.h index 7643bcb..b02b940 100644 --- a/term_util.h +++ b/term_util.h @@ -34,7 +34,7 @@ typedef enum { A_reverse = A_REVERSE, } Term_attr; -static ORCA_FORCE_INLINE +static ORCA_FORCE_INLINE ORCA_OK_IF_UNUSED attr_t fg_bg(Color_name fg, Color_name bg) { return COLOR_PAIR(1 + fg * Colors_count + bg); }