suppressed uninitialized memory read

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2765 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-04-23 13:13:36 +00:00
parent f04535522f
commit fd5523ae0a

View File

@ -256,8 +256,11 @@ bool upnphandler::shutdown_upnp()
*/
upnphandler::upnphandler()
:toEnable(false), toStart(false), toStop(false),
eport(0),iport(0), eport_curr(0)
:
upnpState(RS_UPNP_S_UNINITIALISED),
cUPnPControlPoint(NULL),
toEnable(false), toStart(false), toStop(false),
iport(0),eport(0), eport_curr(0)
{
}