1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Fixing some static analysis issues

This commit is contained in:
Maksim Shabunin
2017-06-26 14:09:21 +03:00
parent b991665b5d
commit 32d4af36e2
63 changed files with 238 additions and 94 deletions
+1
View File
@@ -203,6 +203,7 @@ public:
results = &_results;
results_prob = !_results_prob.empty() ? &_results_prob : 0;
rawOutput = _rawOutput;
value = 0;
}
const Mat* c;
+1
View File
@@ -81,6 +81,7 @@ public:
params.use1SERule = false;
params.truncatePrunedTree = false;
params.priors = Mat();
oobError = 0;
}
virtual ~DTreesImplForRTrees() {}
+1 -1
View File
@@ -115,7 +115,7 @@ DTreesImpl::WorkData::WorkData(const Ptr<TrainData>& _data)
maxSubsetSize = 0;
}
DTreesImpl::DTreesImpl() {}
DTreesImpl::DTreesImpl() : _isClassifier(false) {}
DTreesImpl::~DTreesImpl() {}
void DTreesImpl::clear()
{