From 09a79a010db45953b579bf806225b6466713b7d3 Mon Sep 17 00:00:00 2001 From: "Srivats P." Date: Sun, 6 Jul 2014 19:28:30 +0530 Subject: [PATCH] Fixing compiler warning --- client/port.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;