summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-04-10 13:03:46 (GMT)
committerBrad King <brad.king@kitware.com>2003-04-10 13:03:46 (GMT)
commit55e7d082e9db08985754802c2b15cbb6783545eb (patch)
treebeeade17f192c598502c3c92754b354a40481f6b
parent7e67b8effbef43205240ec5b416ce5697ce164b4 (diff)
downloadCMake-55e7d082e9db08985754802c2b15cbb6783545eb.zip
CMake-55e7d082e9db08985754802c2b15cbb6783545eb.tar.gz
CMake-55e7d082e9db08985754802c2b15cbb6783545eb.tar.bz2
ERR: Removed unused parameter and truncated debug symbol warnings.
-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 = "";