mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 15:15:15 -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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue