A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
unused.h File Reference

NS_UNUSED and NS_UNUSED_GLOBAL macro definitions. More...

#include "ns3/deprecated.h"
+ Include dependency graph for unused.h:

Go to the source code of this file.

Macros

#define NS_UNUSED(x)    _Pragma("GCC warning \"NS_UNUSED is deprecated, use [[maybe_unused]] directly\"")((void)(x))
 Mark a local variable as unused.
 
#define NS_UNUSED_GLOBAL(x)
 Mark a variable at file scope as unused.
 

Detailed Description

NS_UNUSED and NS_UNUSED_GLOBAL macro definitions.

Definition in file unused.h.