From 66095be685318b44b1054f23a4a091773befaed8 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 15 Apr 2005 13:56:23 -0400 Subject: [PATCH] BUG: Added missing variable initialization that was accidentally removed on the previsous commit. --- Source/kwsys/SystemTools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index c3b79df6c..6beeaafc3 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);