From 15ae00d7a2d38bd9c6f2a3282ad7b3fde4f29f99 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Fri, 31 Mar 2017 14:09:58 +0200 Subject: [PATCH] Declare a local variable in filefn.cpp as const No real changes, just make a variable which is set only once const. --- src/common/filefn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 0e0ef3d6b2..2946d770cf 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1607,7 +1607,7 @@ static bool wxCheckWin32Permission(const wxString& path, DWORD access) return false; } - HANDLE h = ::CreateFile + const HANDLE h = ::CreateFile ( path.t_str(), access,