X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/106dcc2ceaa47cb8cfbdac9e776ac7458e23a222..94f0292941b6520afbabc999da698ef5fe576a46:/src/unix/dir.cpp diff --git a/src/unix/dir.cpp b/src/unix/dir.cpp index 16f0b36503..2581eb1cb9 100644 --- a/src/unix/dir.cpp +++ b/src/unix/dir.cpp @@ -115,7 +115,7 @@ wxDirData::~wxDirData() bool wxDirData::Read(wxString *filename) { - dirent *de = (dirent *)NULL; // just to silence compiler warnings + dirent *de = NULL; // just to silence compiler warnings bool matches = false; // speed up string concatenation in the loop a bit @@ -225,9 +225,6 @@ bool wxDir::Open(const wxString& dirname) if ( !M_DIR->IsOk() ) { - wxLogSysError(_("Can not enumerate files in directory '%s'"), - dirname.c_str()); - delete M_DIR; m_data = NULL;