diff --git a/common/abstractprotocolconfig.h b/common/abstractprotocolconfig.h index 3e87aeb..f9fd971 100644 --- a/common/abstractprotocolconfig.h +++ b/common/abstractprotocolconfig.h @@ -69,7 +69,7 @@ public: Subclasses MUST implement this function. See the SampleProtocol for an example */ - virtual void loadWidget(AbstractProtocol *proto) + virtual void loadWidget(AbstractProtocol* /*proto*/) { // Do nothing! } @@ -83,7 +83,7 @@ public: Subclasses MUST implement this function. See the SampleProtocol for an example */ - virtual void storeWidget(AbstractProtocol *proto) + virtual void storeWidget(AbstractProtocol* /*proto*/) { // Do nothing! } diff --git a/server/abstractport.cpp b/server/abstractport.cpp index 4aa97c6..ef3e881 100644 --- a/server/abstractport.cpp +++ b/server/abstractport.cpp @@ -172,7 +172,7 @@ void AbstractPort::updatePacketListSequential() { if (streamList_[i]->isEnabled()) { - int len; + int len = 0; ulong n, x, y; ulong burstSize; double ibg = 0; @@ -366,7 +366,7 @@ void AbstractPort::updatePacketListInterleaved() double numBursts = 0; double numPackets = 0; - quint64 _burstSize; + quint64 _burstSize = 0; double ibg = 0; quint64 _ibg1 = 0, _ibg2 = 0; quint64 _nb1 = 0, _nb2 = 0;