mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 14:12:43 -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()
|
static float computeCurrentSendingProbability()
|
||||||
{
|
{
|
||||||
int maxIn,maxOut;
|
int maxIn=50,maxOut=50;
|
||||||
float currIn,currOut ;
|
float currIn=0,currOut=0 ;
|
||||||
|
|
||||||
rsConfig->GetMaxDataRates(maxIn,maxOut) ;
|
rsConfig->GetMaxDataRates(maxIn,maxOut) ;
|
||||||
rsConfig->GetCurrentDataRates(currIn,currOut) ;
|
rsConfig->GetCurrentDataRates(currIn,currOut) ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue