From 8068d515df5654ebf68e861657e1e27871b65ed9 Mon Sep 17 00:00:00 2001 From: superp00t Date: Mon, 14 Aug 2023 21:16:48 -0400 Subject: [PATCH] fix(system/file): remove duplicate flag expansion --- bc/system/file/win/WinFile.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/bc/system/file/win/WinFile.cpp b/bc/system/file/win/WinFile.cpp index fa7a4db..2a506b2 100644 --- a/bc/system/file/win/WinFile.cpp +++ b/bc/system/file/win/WinFile.cpp @@ -135,7 +135,6 @@ HANDLE Open(const char* systemPath, uint32_t flags, bool nocache) { bool write = flags & BC_FILE_OPEN_WRITE; bool shareRead = flags & BC_FILE_OPEN_SHARE_READ; bool shareWrite = flags & BC_FILE_OPEN_SHARE_WRITE; - bool write = flags & BC_FILE_OPEN_WRITE; bool mustNotExist = flags & BC_FILE_OPEN_MUST_NOT_EXIST; bool mustExist = flags & BC_FILE_OPEN_MUST_EXIST; bool create = flags & BC_FILE_OPEN_CREATE;