From c43c3f2af3d328e040b1e8f8149879b1cdb74c5f Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Wed, 17 Nov 2004 00:28:42 -0500 Subject: [PATCH] initialize _reserved --HG-- extra : convert_revision : a0f98c135734602b1d4b0890d8ff8cecc0e42f88 --- dev/pktfifo.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2