From 7883a89c00b3491bf07a5b5319618f92d56336f3 Mon Sep 17 00:00:00 2001 From: The Dax Date: Wed, 9 Oct 2013 13:14:48 -0400 Subject: [PATCH] Remove unused variable. --- Windows/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Windows/main.cpp b/Windows/main.cpp index a5f73d4945..9735ae50d9 100644 --- a/Windows/main.cpp +++ b/Windows/main.cpp @@ -64,8 +64,7 @@ void LaunchBrowser(const char *url) { bool DoesVersionMatchWindows(const u32 major, const u32 minor, const u32 spMajor = 0, const u32 spMinor = 0) { u64 conditionMask = 0; OSVERSIONINFOEX osvi; - bool match = false; - ZeroMemory(&osvi, sizeof(osvi)); + ZeroMemory(&osvi, sizeof(OSVERSIONINFOEX)); osvi.dwOSVersionInfoSize = sizeof(osvi); osvi.dwMajorVersion = major;