g++ compiler warning fix

This commit is contained in:
Adam Ierymenko
2014-10-07 13:18:08 -07:00
parent 7788a3d45d
commit cb6fd3afb3
2 changed files with 3 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ class TestEthernetTap : public EthernetTap
private:
struct TestFrame
{
TestFrame() : etherType(0),len(0) {}
TestFrame() : from(),to(),etherType(0),len(0) {}
TestFrame(const MAC &f,const MAC &t,const void *d,unsigned int et,unsigned int l) :
from(f),
to(t),