浏览代码

ERR: Removed unused parameter and truncated debug symbol warnings.

Brad King 22 年之前
父节点
当前提交
55e7d082e9
共有 1 个文件被更改,包括 5 次插入1 次删除
  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 = "";