NS_UNUSED and NS_UNUSED_GLOBAL macro definitions. More...
#include "ns3/deprecated.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. | |
NS_UNUSED and NS_UNUSED_GLOBAL macro definitions.
Definition in file unused.h.