]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/file.cpp
Compile fixes.
[wxWidgets.git] / src / common / file.cpp
index b29367e38965c68eee77de20a3a4f7f70217ada9..3cd684587a044788484f9ef89e25784831ef4d78 100644 (file)
@@ -502,7 +502,7 @@ bool wxTempFile::Open(const wxString& strName)
     int access = wxS_DEFAULT;
 #ifdef __UNIX__
     // create the file with the same mode as the original one under Unix
-    mode_t umaskOld;
+    mode_t umaskOld = 0; // just to suppress compiler warning
     bool changedUmask;
 
     struct stat st;