mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7699 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ce83a24692
commit
5cd64bde29
@ -150,8 +150,8 @@ public:
|
||||
|
||||
static float computeCurrentSendingProbability()
|
||||
{
|
||||
int maxIn,maxOut;
|
||||
float currIn,currOut ;
|
||||
int maxIn=50,maxOut=50;
|
||||
float currIn=0,currOut=0 ;
|
||||
|
||||
rsConfig->GetMaxDataRates(maxIn,maxOut) ;
|
||||
rsConfig->GetCurrentDataRates(currIn,currOut) ;
|
||||
|
Loading…
Reference in New Issue
Block a user