Skip to content
Snippets Groups Projects
Commit 1d6c790f authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig Committed by Marge Bot
Browse files

pan/bi: Mark mod to string as maybe unused


Fixes warnings like the following under clang:

src/panfrost/bifrost/bi_printer.c:599:1: warning: unused function 'bi_widen_as_str' [-Wunused-function]
bi_widen_as_str(enum bi_widen widen)

Signed-off-by: default avatarAlyssa Rosenzweig <alyssa@collabora.com>
Part-of: <mesa/mesa!12003>
parent 7346ab85
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ bi_print_index(FILE *fp, bi_index index)
% for mod in sorted(modifiers):
% if len(modifiers[mod]) > 2: # otherwise just boolean
static inline const char *
UNUSED static inline const char *
bi_${mod}_as_str(enum bi_${mod} ${mod})
{
switch (${mod}) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment