initialize _reserved

--HG--
extra : convert_revision : a0f98c135734602b1d4b0890d8ff8cecc0e42f88
This commit is contained in:
Nathan Binkert 2004-11-17 00:28:42 -05:00
parent 82e2fc3994
commit c43c3f2af3

View file

@ -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; }