Skip to content
Myr

shm: clang 23 complains max_pool_size is unused on x86 (which it is)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Eklöf · committed by Daniel Eklöf · parent 616485c · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:shm.c+1 added
453 unmodified lines
454 : total_size;455#else456 off_t offset = 0;457 off_t memfd_size = total_size;458 (void)max_pool_size;459#endif460461 assert(chain->scrollable || (offset == 0 && memfd_size == total_size));462
625 unmodified lines