Merge pull request #4176 from Beep6581/extraclean

get rt cleaner when built using -Wextra #4155
This commit is contained in:
Ingo Weyrich
2017-11-11 18:06:00 +01:00
committed by GitHub
57 changed files with 483 additions and 1404 deletions

View File

@@ -75,11 +75,19 @@ bool LFModifier::isCACorrectionAvailable() const
return false;
}
#ifdef __GNUC__ // silence warning, can be removed when function is implemented
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#endif
void LFModifier::correctCA(double &x, double &y, int channel) const
{
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
void LFModifier::processVignetteLine(int width, int y, float *line) const
{