Skip to content
Snippets Groups Projects
Commit d711c4cd authored by Jan David Mol's avatar Jan David Mol
Browse files

bug 1362: avoid compiler warning

parent 49e27a12
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@ bool ACRequestPool::assignNewPort(ACRequest* anACR)
anACR->itsAddr = myIPV4Address(); // network byte order
uint16 startingPort = itsNextPort;
uint16 freePort;
uint16 freePort = 0; // initialise, purely to avoid compiler warning
bool found = false;
do {
// scan pool to see if number is (still) in use.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment