From dc9218e9ebbd5903f67521355afab2102bb6fdce Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 7 Sep 2026 10:45:32 +0500 Subject: [PATCH] vs-cfg: remove unused `Win64` code We don't have any generators with `Win64` suffix (they were removed 36f51e1), so this code was unreachable. --- win/vs-cfg.cmd | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/win/vs-cfg.cmd b/win/vs-cfg.cmd index 3c8c9c1c07..ecce1a9555 100644 --- a/win/vs-cfg.cmd +++ b/win/vs-cfg.cmd @@ -115,8 +115,7 @@ IF "!GENERATOR!"=="" IF NOT "%VisualStudioVersion%"=="" ( ) :: Check that the used CMake version supports the chosen generator -set GENERATOR_CHECK=%GENERATOR: Win64=% -cmake --help | findstr /c:%GENERATOR_CHECK% >nul +cmake --help | findstr /c:%GENERATOR% >nul if not %ERRORLEVEL%==0 ( call utils\cecho.cmd 0 12 "%~nx0: The used CMake version does not support generator '`"!GENERATOR!`'"- cannot proceed." exit /b 1 @@ -151,10 +150,6 @@ FOR %%i IN (%GENERATOR_SPLIT%) DO ( IF !LEN!==1 set VC_VER=%%i IF !LEN!==2 set VC_VER=%%i IF !LEN!==4 set VS_VER=%%i - :: Are going to perform a 64-bit build? - IF %%i==Win64 ( - set VS_PLATFORM=x64 - ) ) :PlatformDefined