unused.h

Provides preprocessor definitions to declare variables as unused to stymie compiler warnings.

  • Author: Edward Jones
  • Date: 2021-09-17

Source file

UNUSED

Declare a variable as unused.

  • Param x: The name of the variable to declare unused

Returns: A statement without effect which makes the compiler believe that x is used

#define UNUSED(x) x = x