Fixed a build warning in softcascade.

This commit is contained in:
Roman Donchenko 2013-07-16 12:43:49 +04:00
parent 3443fd85cd
commit 1160b04fb4

View File

@ -200,7 +200,7 @@ struct cv::softcascade::SCascade::Fields
}
fns = fns[SC_TREES];
if (fn.empty()) return false;
if (fn.empty()) return 0;
// for each stage (~ decision tree with H = 2)
FileNodeIterator st = fns.begin(), st_end = fns.end();