Ken Martin преди 22 години
родител
ревизия
904fb91a42
променени са 2 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. 1 1
      Source/cmLocalVisualStudio6Generator.cxx
  2. 1 2
      Source/cmLocalVisualStudio7Generator.cxx

+ 1 - 1
Source/cmLocalVisualStudio6Generator.cxx

@@ -596,7 +596,7 @@ void cmLocalVisualStudio6Generator::SetBuildType(BuildType b,
 // look for custom rules on a target and collect them together
 // look for custom rules on a target and collect them together
 std::string 
 std::string 
 cmLocalVisualStudio6Generator::CreateTargetRules(const cmTarget &target, 
 cmLocalVisualStudio6Generator::CreateTargetRules(const cmTarget &target, 
-                               const char *libName)
+                                                 const char * /* libName */)
 {
 {
   std::string customRuleCode = "";
   std::string customRuleCode = "";
 
 

+ 1 - 2
Source/cmLocalVisualStudio7Generator.cxx

@@ -924,7 +924,6 @@ WriteCustomRule(std::ostream& fout,
       fout << source << "_force";
       fout << source << "_force";
       }
       }
     
     
-    bool first = true;
     // Write a rule for the output generated by this command.
     // Write a rule for the output generated by this command.
     fout << this->ConvertToXMLOutputPathSingle(output);
     fout << this->ConvertToXMLOutputPathSingle(output);
     fout << "\"/>\n";
     fout << "\"/>\n";
@@ -952,7 +951,7 @@ void cmLocalVisualStudio7Generator::WriteVCProjEndGroup(std::ostream& fout)
 // look for custom rules on a target and collect them together
 // look for custom rules on a target and collect them together
 void cmLocalVisualStudio7Generator::OutputTargetRules(std::ostream& fout,
 void cmLocalVisualStudio7Generator::OutputTargetRules(std::ostream& fout,
                                                       const cmTarget &target, 
                                                       const cmTarget &target, 
-                                                      const char *libName)
+                                                      const char */* libName */)
 {
 {
   if (target.GetType() > cmTarget::UTILITY)
   if (target.GetType() > cmTarget::UTILITY)
     {
     {