fixed uninitialised memory read

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8146 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-04-19 20:03:46 +00:00
parent fce6b7edf3
commit 8d7842739c

View File

@ -54,11 +54,13 @@ pqihandler::pqihandler(SecurityPolicy *Global) : coreMtx("pqihandler")
rateIndiv_out = 0.01;
rateIndiv_in = 0.01;
rateMax_out = 0.01;
rateMax_in = 0.01;
last_m = time(NULL) ;
rateMax_in = 0.01;
rateTotal_in = 0.0 ;
rateTotal_out = 0.0 ;
last_m = time(NULL) ;
nb_ticks = 0 ;
ticks_per_sec = 5 ; // initial guess
return;
return;
}
int pqihandler::tick()