summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-04-15 17:56:23 (GMT)
committerBrad King <brad.king@kitware.com>2005-04-15 17:56:23 (GMT)
commit66095be685318b44b1054f23a4a091773befaed8 (patch)
tree09f545e3353dc40af0f8994a26b44ea951ce3446
parent370a39ce4ba9a1a1ff1d769d64abe3d70a80d299 (diff)
downloadCMake-66095be685318b44b1054f23a4a091773befaed8.zip
CMake-66095be685318b44b1054f23a4a091773befaed8.tar.gz
CMake-66095be685318b44b1054f23a4a091773befaed8.tar.bz2
BUG: Added missing variable initialization that was accidentally removed on the previsous commit.
-rw-r--r--Source/kwsys/SystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index c3b79df..6beeaaf 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -1245,7 +1245,7 @@ kwsys_stl::string SystemTools::ConvertToUnixOutputPath(const char* path)
kwsys_stl::string ret = path;
// remove // except at the beginning might be a cygwin drive
- kwsys_stl::string::size_type pos;
+ kwsys_stl::string::size_type pos=0;
while((pos = ret.find("//", pos)) != kwsys_stl::string::npos)
{
ret.erase(pos, 1);