notcurses_stats_alloc: mark paramater as unused #1633

This commit is contained in:
nick black 2021-05-06 10:04:26 -04:00
parent 5ec11e5897
commit 02af161b98
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -1323,7 +1323,8 @@ typedef struct ncstats {
// Allocate an ncstats object. Use this rather than allocating your own, since
// future versions of Notcurses might enlarge this structure.
API ALLOC ncstats* notcurses_stats_alloc(const struct notcurses* nc)
API ALLOC ncstats* notcurses_stats_alloc(const struct notcurses* nc
__attribute__ ((unused)))
__attribute__ ((nonnull (1)));
// Acquire an atomic snapshot of the Notcurses object's stats.