Fixing compiler warning
This commit is contained in:
parent
63ea66fa4f
commit
09a79a010d
@ -192,7 +192,7 @@ void Port::setAveragePacketRate(double packetsPerSec)
|
|||||||
|
|
||||||
void Port::setAverageBitRate(double bitsPerSec)
|
void Port::setAverageBitRate(double bitsPerSec)
|
||||||
{
|
{
|
||||||
double rate;
|
double rate = 0;
|
||||||
double pps = 0;
|
double pps = 0;
|
||||||
double bps = 0;
|
double bps = 0;
|
||||||
int n = 0;
|
int n = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user