shithub: orca

Download patch

ref: c0f93693b276a71a3c86339289bb7fc17a5f2fea
parent: 418c0be1289a9540bb3dd1afc202393e9e9c2bdf
author: cancel <cancel@cancel.fm>
date: Wed Jan 8 21:23:42 EST 2020

Add attribute to allow unused util fn fg_bg

--- a/term_util.h
+++ b/term_util.h
@@ -34,7 +34,7 @@
   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);
 }