Skip to content

Fix Wunused-parameter warnings

Issue/feature addressed

There are a lot of unused parameters, notably in virtual functions. Those unused parameters are not detected on the CI and produced Wunused-parameter warning when the -Wall -Wextra flags are used.

Proposed solution

Using boost::ignore_unused() in problematic functions to eliminate Wunused-parameter warnings.

Checklist

Warning

On the 19.07 the code formatting (code style) was standardised using clang-format, over the whole Nektar++ code. This means changes in your branch will conflict with formatting changes on the master branch. To resolve these conflicts , see #295 (closed)

Edited by Jacques Xing

Merge request reports