diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-05-28 13:21:37 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-05-28 13:21:37 (GMT) |
commit | 8cb6645ad8779c7066a9a31907004506b595aab2 (patch) | |
tree | 0fb33f0cf62d41c4532068d38b96600d2a10474a /Source/cmSystemTools.cxx | |
parent | 64db4e2cd8706ea91a8598145cff5d7607e3bfd2 (diff) | |
download | CMake-8cb6645ad8779c7066a9a31907004506b595aab2.zip CMake-8cb6645ad8779c7066a9a31907004506b595aab2.tar.gz CMake-8cb6645ad8779c7066a9a31907004506b595aab2.tar.bz2 |
Remove some borland 6 warnings
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 218c87d..46bcabd 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -704,12 +704,12 @@ void cmSystemTools::ConvertToUnixSlashes(std::string& path) pos++; } // Remove all // from the path just like most unix shells +#ifndef _WIN32 int start_find = 0; - -#ifdef _WIN32 +#else // However, on windows if the first characters are both slashes, // then keep them that way, so that network paths can be handled. - start_find = 1; + int start_find = 1; #endif while((pos = path.find("//", start_find)) != std::string::npos) |