The OpenZFS project is using __maybe_unused to mark variables which may be unused in some context - like variables used in debug build but not in release build. Both __unused and __maybe_unused do expand to the same attribute.
Updated by Electric Monk 6 months ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 6de0af11ed5afd6a7c0ff23e31c1954813e3bf88 Author: Toomas Soome <email@example.com> Date: 2022-04-11T17:07:02.000Z 14622 want __maybe_unused Reviewed by: Jason King <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>