Fixed dummy warning.

pull/395/head
LeonidBeynenson 12 years ago
parent 013d54c230
commit 87b0126e0d
  1. 4
      apps/traincascade/boost.cpp
  2. 4
      modules/ml/src/tree.cpp

@ -489,8 +489,8 @@ void CvCascadeBoostTrainData::setData( const CvFeatureEvaluator* _featureEvaluat
int* idst = 0;
unsigned short* udst = 0;
uint64 effective_buf_size = -1;
int effective_buf_height = -1, effective_buf_width = -1;
uint64 effective_buf_size = 0;
int effective_buf_height = 0, effective_buf_width = 0;
clear();

@ -159,8 +159,8 @@ void CvDTreeTrainData::set_data( const CvMat* _train_data, int _tflag,
char err[100];
const int *sidx = 0, *vidx = 0;
uint64 effective_buf_size = -1;
int effective_buf_height = -1, effective_buf_width = -1;
uint64 effective_buf_size = 0;
int effective_buf_height = 0, effective_buf_width = 0;
if( _update_data && data_root )
{

Loading…
Cancel
Save