Fixing compiler warning

This commit is contained in:
Srivats P. 2014-07-06 19:28:30 +05:30
parent 63ea66fa4f
commit 09a79a010d

View File

@ -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;