mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13: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];
|
fns = fns[SC_TREES];
|
||||||
if (fn.empty()) return false;
|
if (fn.empty()) return 0;
|
||||||
|
|
||||||
// for each stage (~ decision tree with H = 2)
|
// for each stage (~ decision tree with H = 2)
|
||||||
FileNodeIterator st = fns.begin(), st_end = fns.end();
|
FileNodeIterator st = fns.begin(), st_end = fns.end();
|
||||||
|
Loading…
Reference in New Issue
Block a user