Make compilation unit rtengine/rtlensfun.cc -Wextra clean, #4155

This commit is contained in:
heckflosse 2017-10-25 17:36:43 +02:00
parent d1ba2091a0
commit f3690d00ac

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
{