From f46f1bc60a1d07f24ecc472eef6d24aa95da765c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Fri, 30 Apr 1999 10:30:19 +0000 Subject: [PATCH] suppressed compiler warning about unitialised umask value git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/file.cpp b/src/common/file.cpp index b29367e389..3cd684587a 100644 --- a/src/common/file.cpp +++ b/src/common/file.cpp @@ -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; -- 2.45.2