Fixed build warnings

This commit is contained in:
Srivats P. 2014-05-22 20:24:04 +05:30
parent 34d9da4a42
commit 0ebff976d8
2 changed files with 4 additions and 4 deletions

View File

@ -69,7 +69,7 @@ public:
Subclasses MUST implement this function. See the SampleProtocol for Subclasses MUST implement this function. See the SampleProtocol for
an example an example
*/ */
virtual void loadWidget(AbstractProtocol *proto) virtual void loadWidget(AbstractProtocol* /*proto*/)
{ {
// Do nothing! // Do nothing!
} }
@ -83,7 +83,7 @@ public:
Subclasses MUST implement this function. See the SampleProtocol for Subclasses MUST implement this function. See the SampleProtocol for
an example an example
*/ */
virtual void storeWidget(AbstractProtocol *proto) virtual void storeWidget(AbstractProtocol* /*proto*/)
{ {
// Do nothing! // Do nothing!
} }

View File

@ -172,7 +172,7 @@ void AbstractPort::updatePacketListSequential()
{ {
if (streamList_[i]->isEnabled()) if (streamList_[i]->isEnabled())
{ {
int len; int len = 0;
ulong n, x, y; ulong n, x, y;
ulong burstSize; ulong burstSize;
double ibg = 0; double ibg = 0;
@ -366,7 +366,7 @@ void AbstractPort::updatePacketListInterleaved()
double numBursts = 0; double numBursts = 0;
double numPackets = 0; double numPackets = 0;
quint64 _burstSize; quint64 _burstSize = 0;
double ibg = 0; double ibg = 0;
quint64 _ibg1 = 0, _ibg2 = 0; quint64 _ibg1 = 0, _ibg2 = 0;
quint64 _nb1 = 0, _nb2 = 0; quint64 _nb1 = 0, _nb2 = 0;