Set stricter warning rules for gcc

This commit is contained in:
Andrey Kamaev
2012-06-07 17:21:29 +00:00
parent 0395f7c63f
commit 49a1ba6038
241 changed files with 9054 additions and 8947 deletions

View File

@@ -18,7 +18,7 @@ inline T mapVal(T x, T a, T b, T c, T d)
return c + (d-c) * (x-a) / (b-a);
}
void colorizeFlow(const Mat &u, const Mat &v, Mat &dst)
static void colorizeFlow(const Mat &u, const Mat &v, Mat &dst)
{
double uMin, uMax;
minMaxLoc(u, &uMin, &uMax, 0, 0);