There's an __attribute__((unused)) / [[unused]] for this.