A Discrete-Event Network Simulator
API
Macros
unused.h File Reference

NS_UNUSED and NS_UNUSED_GLOBAL macro definitions. More...

Go to the source code of this file.

Macros

#define NS_UNUSED(x)   ((void)(x))
 Mark a local variable as unused. More...
 
#define NS_UNUSED_GLOBAL(x)   x
 Mark a variable at file scope as unused. More...
 

Detailed Description

NS_UNUSED and NS_UNUSED_GLOBAL macro definitions.

Definition in file unused.h.