diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2014-11-24 09:03:38 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2014-11-24 09:03:38 -0500 |
commit | d66b14ca61bec95a4049e5aae468904395055efd (patch) | |
tree | 6ddaf6bd4a792f0fe3125d57dae95fb9099dd7b7 /src/dev/virtio/base.hh | |
parent | 1f539f13c32ad5a9187d56a098d4c857639b0e05 (diff) | |
download | gem5-d66b14ca61bec95a4049e5aae468904395055efd.tar.xz |
misc: Another round of static analysis fixups
Mostly addressing uninitialised members.
Diffstat (limited to 'src/dev/virtio/base.hh')
-rw-r--r-- | src/dev/virtio/base.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/virtio/base.hh b/src/dev/virtio/base.hh index 4695f2b96..fe1685767 100644 --- a/src/dev/virtio/base.hh +++ b/src/dev/virtio/base.hh @@ -479,7 +479,7 @@ public: } M5_ATTR_PACKED; VirtRing<T>(PortProxy &proxy, uint16_t size) - : ring(size), _proxy(proxy), _base(0) {} + : header{0, 0}, ring(size), _proxy(proxy), _base(0) {} /** * Set the base address of the VirtIO ring buffer. |