Fix GCC 4.9 compiler warning

pull/2895/head
Fco. Javier Delgado del Hoyo 11 years ago
parent ea2228774d
commit a73809e6fc
  1. 2
      modules/imgproc/src/morph.cpp

@ -1257,7 +1257,7 @@ static bool IPPMorphReplicate(int op, const Mat &src, Mat &dst, const Mat &kerne
}
#undef IPP_MORPH_CASE
#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 8
#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ > 8
return false; /// It disables false positive warning in GCC 4.8.2
#endif
}

Loading…
Cancel
Save