BUG: Added missing variable initialization that was accidentally removed on the previsous commit.
This commit is contained in:
parent
370a39ce4b
commit
66095be685
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue