From f6c2d59f98e7918e5aa55d51f9197a70b63334b4 Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Mon, 11 May 2015 13:57:38 -0700 Subject: [PATCH] Ha Ha C++ --- src/Setup/MachineInstaller.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Setup/MachineInstaller.cpp b/src/Setup/MachineInstaller.cpp index 8e93d0f70..852f5affb 100644 --- a/src/Setup/MachineInstaller.cpp +++ b/src/Setup/MachineInstaller.cpp @@ -162,10 +162,7 @@ bool MachineInstaller::ShouldSilentInstall() } // C:\ProgramData\$pkgName\$username\.dead - wchar_t username[512]; - DWORD unamesize = _countof(username); SHGetFolderPath(NULL, CSIDL_COMMON_APPDATA, NULL, SHGFP_TYPE_CURRENT, installFolder); - GetUserName(username, &unamesize); wcscat(installFolder, L"\\"); wcscat(installFolder, pkgName); wcscat(installFolder, L"\\");