neutronimaging / imagingsuite

Sources for imaging related tools
GNU General Public License v3.0
18 stars 9 forks source link

Clean unused parameter warning #687

Open anderskaestner opened 2 weeks ago

anderskaestner commented 2 weeks ago

Fix the unused parameter and unused set variable.

Unused variables (comment variables)

Unused parameters (use void myFunction(int /*unusedParam*/)-style)

I have used std::ignore = unusedParam in the code, but it doesn't appear to be the ideal solution.

anderskaestner commented 2 weeks ago

This is a low-hanging fruit and will radically reduce the number of warnings. @vlocateli would you like to take care of this?

vlocateli commented 2 weeks ago

Yes. I can fix it.