Browse Source

ERR: Removed unused parameter and truncated debug symbol warnings.

Brad King 22 years ago
parent
commit
55e7d082e9
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Source/kwsys/SystemTools.cxx

+ 5 - 1
Source/kwsys/SystemTools.cxx

@@ -14,6 +14,10 @@
      PURPOSE.  See the above copyright notices for more information.
 
 =========================================================================*/
+#ifdef _MSC_VER
+# pragma warning (disable: 4786)
+#endif
+
 #include <SystemTools.hxx>
 #include <RegularExpression.hxx>
 #include <Directory.hxx>
@@ -1247,7 +1251,7 @@ kwsys_std::string SystemTools::GetProgramPath(const char* in_name)
 bool SystemTools::SplitProgramPath(const char* in_name,
                                    kwsys_std::string& dir,
                                    kwsys_std::string& file,
-                                   bool errorReport)
+                                   bool)
 {
   dir = in_name;
   file = "";