Browse Source

compielr warnings

Ken Martin 22 years ago
parent
commit
904fb91a42

+ 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
 std::string 
 cmLocalVisualStudio6Generator::CreateTargetRules(const cmTarget &target, 
-                               const char *libName)
+                                                 const char * /* libName */)
 {
   std::string customRuleCode = "";
 

+ 1 - 2
Source/cmLocalVisualStudio7Generator.cxx

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