removed dirname variable

This commit is contained in:
Pranav Ganorkar 2016-02-07 03:09:21 +05:30
parent e04f372083
commit 4a5ed70175

View File

@ -28,7 +28,7 @@ CvCascadeImageReader::NegReader::NegReader()
bool CvCascadeImageReader::NegReader::create( const string _filename, Size _winSize ) bool CvCascadeImageReader::NegReader::create( const string _filename, Size _winSize )
{ {
string dirname, str; string str;
std::ifstream file(_filename.c_str()); std::ifstream file(_filename.c_str());
if ( !file.is_open() ) if ( !file.is_open() )
return false; return false;