mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Fixed a build warning in softcascade.
This commit is contained in:
parent
3443fd85cd
commit
1160b04fb4
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user