Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mxq.h: Add attribute unused
Add function attribute ((unusged)) to avoid a compiler warning when the
static inline function defined in the header file is not used by the
compilation unit.
  • Loading branch information
donald committed Apr 15, 2020
1 parent 173dbc0 commit 526b09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mxq.h
Expand Up @@ -60,7 +60,7 @@
# define MXQ_MAX_PENDING_JOBS_PER_GROUP 10000
#endif

static void mxq_print_generic_version(void)
__attribute__ ((unused)) static void mxq_print_generic_version(void)
{
printf(
"%s - " MXQ_VERSIONFULL "\n"
Expand Down

0 comments on commit 526b09e

Please sign in to comment.