ATLAS Offline Software
Macros
unused.h File Reference

Macro to mark a member as unused. More...

Go to the source code of this file.

Macros

#define ATH_UNUSED_MEMBER(v)   v
 

Detailed Description

Macro to mark a member as unused.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Mar, 2011 Use like:

int ATH_UNUSED_MEMBER(m_v);

Of course, if a member is really unused, it's better to simply remove it rather than trying to paper over the warning like this.

For non-members, just use [[maybe_unused]] (except for parameters, which should usually just be left unnamed).

Definition in file unused.h.

Macro Definition Documentation

◆ ATH_UNUSED_MEMBER

#define ATH_UNUSED_MEMBER (   v)    v

Definition at line 33 of file unused.h.