Browse Source

cmGlobalVisualStudio7Generator: Remove unused member

Brad King 3 months ago
parent
commit
ccbd61dd53

+ 0 - 1
Source/cmGlobalVisualStudio7Generator.cxx

@@ -316,7 +316,6 @@ void cmGlobalVisualStudio7Generator::OutputSLNFile(
   if (generators.empty()) {
     return;
   }
-  this->CurrentProject = root->GetProjectName();
   std::string fname = GetSLNFile(root);
   cmGeneratedFileStream fout(fname);
   fout.SetCopyIfDifferent(true);

+ 0 - 3
Source/cmGlobalVisualStudio7Generator.h

@@ -192,9 +192,6 @@ protected:
 
   std::map<std::string, cmVisualStudioFolder> VisualStudioFolders;
 
-  // Set during OutputSLNFile with the name of the current project.
-  // There is one SLN file per project.
-  std::string CurrentProject;
   bool MarmasmEnabled;
   bool MasmEnabled;
   bool NasmEnabled;