diff --git a/client/port.cpp b/client/port.cpp index 4e0f49b..e9e5915 100644 --- a/client/port.cpp +++ b/client/port.cpp @@ -192,7 +192,7 @@ void Port::setAveragePacketRate(double packetsPerSec) void Port::setAverageBitRate(double bitsPerSec) { - double rate; + double rate = 0; double pps = 0; double bps = 0; int n = 0;