suppressed compiler warning about unitialised umask value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e04ac043b1
commit
f46f1bc60a
@ -502,7 +502,7 @@ bool wxTempFile::Open(const wxString& strName)
|
|||||||
int access = wxS_DEFAULT;
|
int access = wxS_DEFAULT;
|
||||||
#ifdef __UNIX__
|
#ifdef __UNIX__
|
||||||
// create the file with the same mode as the original one under 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;
|
bool changedUmask;
|
||||||
|
|
||||||
struct stat st;
|
struct stat st;
|
||||||
|
Loading…
Reference in New Issue
Block a user