summaryrefslogtreecommitdiff
path: root/testnet/TestEthernetTap.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-07 13:18:08 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-07 13:18:08 -0700
commitcb6fd3afb3cb894f506989e3fe013d1adff54f5a (patch)
treeb9232a87d03a8433843191460e09883eb7c6a70b /testnet/TestEthernetTap.cpp
parent7788a3d45d2cff96562284e7b0ea54a39ee12498 (diff)
downloadinfinitytier-cb6fd3afb3cb894f506989e3fe013d1adff54f5a.tar.gz
infinitytier-cb6fd3afb3cb894f506989e3fe013d1adff54f5a.zip
g++ compiler warning fix
Diffstat (limited to 'testnet/TestEthernetTap.cpp')
-rw-r--r--testnet/TestEthernetTap.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/testnet/TestEthernetTap.cpp b/testnet/TestEthernetTap.cpp
index f3273d00..35c7511b 100644
--- a/testnet/TestEthernetTap.cpp
+++ b/testnet/TestEthernetTap.cpp
@@ -78,9 +78,10 @@ TestEthernetTap::TestEthernetTap(
TestEthernetTap::~TestEthernetTap()
{
+ static const TestFrame zf;
{
Mutex::Lock _l(_pq_m);
- _pq.push(TestFrame()); // 0 length frame = exit
+ _pq.push(zf); // 0 length frame = exit
}
_pq_c.signal();
Thread::join(_thread);