mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Fixed dummy warning.
This commit is contained in:
parent
013d54c230
commit
87b0126e0d
@ -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…
Reference in New Issue
Block a user