diff --git a/apps/traincascade/imagestorage.cpp b/apps/traincascade/imagestorage.cpp index fdaa33b6dd..4055350c2e 100644 --- a/apps/traincascade/imagestorage.cpp +++ b/apps/traincascade/imagestorage.cpp @@ -28,7 +28,7 @@ CvCascadeImageReader::NegReader::NegReader() bool CvCascadeImageReader::NegReader::create( const string _filename, Size _winSize ) { - string dirname, str; + string str; std::ifstream file(_filename.c_str()); if ( !file.is_open() ) return false;