浏览代码

ENH: make the scc optional

Bill Hoffman 17 年之前
父节点
当前提交
749dbcdc6e
共有 1 个文件被更改,包括 0 次插入12 次删除
  1. 0 12
      Source/cmLocalVisualStudio7Generator.cxx

+ 0 - 12
Source/cmLocalVisualStudio7Generator.cxx

@@ -1833,20 +1833,8 @@ cmLocalVisualStudio7Generator::WriteProjectStart(std::ostream& fout,
     keyword = "Win32Proj";
     }
   const char* vsProjectname = target.GetProperty("VS_SCC_PROJECTNAME");
-  if (!vsProjectname)
-    {
-    vsProjectname = "";
-    }
   const char* vsLocalpath = target.GetProperty("VS_SCC_LOCALPATH");
-  if (!vsLocalpath)
-    {
-    vsLocalpath = "";
-    }
   const char* vsProvider = target.GetProperty("VS_SCC_PROVIDER");
-  if (!vsProvider)
-    {
-    vsProvider = "";
-    }
   cmGlobalVisualStudio7Generator* gg =
     static_cast<cmGlobalVisualStudio7Generator *>(this->GlobalGenerator);
   fout << "\tName=\"" << projLabel << "\"\n";