Fixed build warnings
This commit is contained in:
parent
34d9da4a42
commit
0ebff976d8
@ -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!
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user