From: Nathan Binkert Date: Wed, 17 Nov 2004 05:28:42 +0000 (-0500) Subject: initialize _reserved X-Git-Tag: m5_1.0_tutorial~126^2~8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c43c3f2af3d328e040b1e8f8149879b1cdb74c5f;p=gem5.git initialize _reserved --HG-- extra : convert_revision : a0f98c135734602b1d4b0890d8ff8cecc0e42f88 --- 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; }