Project

General

Profile

Actions

Feature #14622

closed

want __maybe_unused

Added by Toomas Soome 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

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.

Actions #1

Updated by Electric Monk 6 months ago

  • Gerrit CR set to 2100
Actions #2

Updated by Toomas Soome 6 months ago

  • Description updated (diff)
Actions #3

Updated by Electric Monk 6 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 6de0af11ed5afd6a7c0ff23e31c1954813e3bf88

commit  6de0af11ed5afd6a7c0ff23e31c1954813e3bf88
Author: Toomas Soome <tsoome@me.com>
Date:   2022-04-11T17:07:02.000Z

    14622 want __maybe_unused
    Reviewed by: Jason King <jason.brian.king+illumos@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF