]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/dir.cpp
fix for assert when setting tooltip for a readonly combo
[wxWidgets.git] / src / unix / dir.cpp
index 188e93c6e5e677f11bc1d5b443f47cbe1402632c..121ccda391e7eaa01dc6da2373e7047c601ee6f0 100644 (file)
@@ -115,7 +115,7 @@ wxDirData::~wxDirData()
 
 bool wxDirData::Read(wxString *filename)
 {
-    dirent *de;
+    dirent *de = (dirent *)NULL;    // just to silent compiler warnings
     bool matches = FALSE;
 
     while ( !matches )