diff options
author | Brad King <brad.king@kitware.com> | 2021-10-20 13:50:08 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-10-29 11:52:57 -0400 |
commit | f5dfc788b8bb455f7accc21a07d8a74f05651467 (patch) | |
tree | 5a2a529ebd59a44ce494987c9b618b100f565bd4 /Source/cmVSSetupHelper.cxx | |
parent | 3213e2595da3ce75af489a63f53b05c5560aa547 (diff) | |
download | cmake-f5dfc788b8bb455f7accc21a07d8a74f05651467.tar.gz |
cmVSSetupHelper: Drop unused InstanceId field
Minimize the amount of information needed about a VS instance.
Diffstat (limited to 'Source/cmVSSetupHelper.cxx')
-rw-r--r-- | Source/cmVSSetupHelper.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmVSSetupHelper.cxx b/Source/cmVSSetupHelper.cxx index 1b67611c92..f1b22b9ccb 100644 --- a/Source/cmVSSetupHelper.cxx +++ b/Source/cmVSSetupHelper.cxx @@ -152,13 +152,6 @@ bool cmVSSetupAPIHelper::GetVSInstanceInfo( if (pInstance == NULL) return false; - SmartBSTR bstrId; - if (SUCCEEDED(pInstance->GetInstanceId(&bstrId))) { - vsInstanceInfo.InstanceId = std::wstring(bstrId); - } else { - return false; - } - InstanceState state; if (FAILED(pInstance->GetState(&state))) { return false; |