uninitialized variable

This commit is contained in:
Ralf Haferkamp 2010-02-16 11:55:05 +00:00
parent 634ab644b6
commit be72826917

View file

@ -195,8 +195,7 @@ void LDAPUrl::parseUrl()
// no hostname and port
startpos++;
} else {
std::string::size_type hostend;
std::string::size_type portstart;
std::string::size_type hostend, portstart=0;
pos = m_urlString.find('/', startpos);
// IPv6 Address?