mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
removed dirname variable
This commit is contained in:
parent
e04f372083
commit
4a5ed70175
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user