summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/SystemTools.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 5dbfb1a..ae0bb1f 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/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 = "";