mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 09:39:03 -04:00
don't warn on bsd about unused sprixel_debug()
This commit is contained in:
parent
da6b8281d5
commit
ba64d36543
@ -4,7 +4,7 @@
|
|||||||
// FIXME needs be atomic
|
// FIXME needs be atomic
|
||||||
static uint32_t sprixelid_nonce;
|
static uint32_t sprixelid_nonce;
|
||||||
|
|
||||||
static inline void
|
__attribute__ ((unused)) static inline void
|
||||||
sprixel_debug(FILE* out, const sprixel* s){
|
sprixel_debug(FILE* out, const sprixel* s){
|
||||||
fprintf(out, "Sprixel %d (%p) %dx%d (%dx%d) @%d/%d state: %d\n",
|
fprintf(out, "Sprixel %d (%p) %dx%d (%dx%d) @%d/%d state: %d\n",
|
||||||
s->id, s, s->dimy, s->dimx, s->pixy, s->pixx,
|
s->id, s, s->dimy, s->dimx, s->pixy, s->pixx,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user