Commit 87b0126e authored by LeonidBeynenson's avatar LeonidBeynenson

Fixed dummy warning.

parent 013d54c2
...@@ -489,8 +489,8 @@ void CvCascadeBoostTrainData::setData( const CvFeatureEvaluator* _featureEvaluat ...@@ -489,8 +489,8 @@ void CvCascadeBoostTrainData::setData( const CvFeatureEvaluator* _featureEvaluat
int* idst = 0; int* idst = 0;
unsigned short* udst = 0; unsigned short* udst = 0;
uint64 effective_buf_size = -1; uint64 effective_buf_size = 0;
int effective_buf_height = -1, effective_buf_width = -1; int effective_buf_height = 0, effective_buf_width = 0;
clear(); clear();
......
...@@ -159,8 +159,8 @@ void CvDTreeTrainData::set_data( const CvMat* _train_data, int _tflag, ...@@ -159,8 +159,8 @@ void CvDTreeTrainData::set_data( const CvMat* _train_data, int _tflag,
char err[100]; char err[100];
const int *sidx = 0, *vidx = 0; const int *sidx = 0, *vidx = 0;
uint64 effective_buf_size = -1; uint64 effective_buf_size = 0;
int effective_buf_height = -1, effective_buf_width = -1; int effective_buf_height = 0, effective_buf_width = 0;
if( _update_data && data_root ) if( _update_data && data_root )
{ {
......
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