Commit 6d1ec452 authored by Roman Donchenko's avatar Roman Donchenko Committed by OpenCV Buildbot

Merge pull request #1125 from SpecLad:softcascade-nowarn

parents 3443fd85 1160b04f
...@@ -200,7 +200,7 @@ struct cv::softcascade::SCascade::Fields ...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment