mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
uninitialized variable
This commit is contained in:
parent
634ab644b6
commit
be72826917
1 changed files with 1 additions and 2 deletions
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Reference in a new issue