Rule M0-1-3 (required, implementation, automated)

A project shall not contain unused variables.

See MISRA C++ 2008 [7]