diff options
-rw-r--r-- | Source/cmVSSetupHelper.cxx | 7 | ||||
-rw-r--r-- | Source/cmVSSetupHelper.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/Source/cmVSSetupHelper.cxx b/Source/cmVSSetupHelper.cxx index 1b67611..f1b22b9 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; diff --git a/Source/cmVSSetupHelper.h b/Source/cmVSSetupHelper.h index b2ba086..5a7daa2 100644 --- a/Source/cmVSSetupHelper.h +++ b/Source/cmVSSetupHelper.h @@ -84,7 +84,6 @@ private: struct VSInstanceInfo { - std::wstring InstanceId; std::wstring VSInstallLocation; std::wstring Version; std::string VCToolsetVersion; |