diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-11-17 00:28:42 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-11-17 00:28:42 -0500 |
commit | c43c3f2af3d328e040b1e8f8149879b1cdb74c5f (patch) | |
tree | 5ef3eb950cf992738eb203f1cbdf584fe65c3a70 /dev | |
parent | 82e2fc3994d536396810616ae494c70d89a486f2 (diff) | |
download | gem5-c43c3f2af3d328e040b1e8f8149879b1cdb74c5f.tar.xz |
initialize _reserved
--HG--
extra : convert_revision : a0f98c135734602b1d4b0890d8ff8cecc0e42f88
Diffstat (limited to 'dev')
-rw-r--r-- | dev/pktfifo.hh | 2 |
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; } |