summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/pktfifo.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/pktfifo.hh b/dev/pktfifo.hh
index 0b2e95e2a..56e72947a 100644
--- a/dev/pktfifo.hh
+++ b/dev/pktfifo.hh
@@ -46,7 +46,7 @@ class PacketFifo
int _reserved;
public:
- explicit PacketFifo(int max) : _maxsize(max), _size(0) {}
+ explicit PacketFifo(int max) : _maxsize(max), _size(0), _reserved(0) {}
virtual ~PacketFifo() {}
int maxsize() const { return _maxsize; }